[FFmpeg-cvslog] lavu/opt: fix memleak in test
Lukasz Marek
git at videolan.org
Wed Nov 12 23:36:11 CET 2014
ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki2 at gmail.com> | Wed Nov 12 23:26:45 2014 +0100| [5dc0f607e795a61614cbb9c162f16c1c8cc48a47] | committer: Lukasz Marek
lavu/opt: fix memleak in test
Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5dc0f607e795a61614cbb9c162f16c1c8cc48a47
---
libavutil/opt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 90465b6..0a08e77 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");
More information about the ffmpeg-cvslog
mailing list