From 5dc0f607e795a61614cbb9c162f16c1c8cc48a47 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Wed, 12 Nov 2014 23:26:45 +0100 Subject: [PATCH] lavu/opt: fix memleak in test Signed-off-by: Lukasz Marek --- libavutil/opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.c b/libavutil/opt.c index 90465b6898..0a08e77d6d 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1818,6 +1818,7 @@ int main(void) printf("num64=%"PRId64"\n", test_ctx.num64); printf("flt=%.6f\n", test_ctx.flt); printf("dbl=%.6f\n", test_ctx.dbl); + av_opt_free(&test_ctx); } printf("\nTesting av_set_options_string()\n");