Commit 94877aad authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/crop: free x and y parsed expression objects

Fix leak introduced in 1e5492ff.
parent dde4832b
......@@ -122,6 +122,9 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
static av_cold void uninit(AVFilterContext *ctx)
{
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment