You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
lavfi/crop: free x and y parsed expression objects
Fix leak introduced in 1e5492ffe6
.
This commit is contained in:
@@ -122,6 +122,9 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
|
|||||||
static av_cold void uninit(AVFilterContext *ctx)
|
static av_cold void uninit(AVFilterContext *ctx)
|
||||||
{
|
{
|
||||||
CropContext *crop = ctx->priv;
|
CropContext *crop = ctx->priv;
|
||||||
|
|
||||||
|
av_expr_free(crop->x_pexpr); crop->x_pexpr = NULL;
|
||||||
|
av_expr_free(crop->y_pexpr); crop->y_pexpr = NULL;
|
||||||
av_opt_free(crop);
|
av_opt_free(crop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user