diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-12 23:26:45 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-12 23:32:31 +0100 |
commit | 5dc0f607e795a61614cbb9c162f16c1c8cc48a47 (patch) | |
tree | 907e2f4170e038dcbcaf364e3f3ddb8c52a8b677 /libavutil/opt.c | |
parent | d03867c248311e1358197746bfa2c35ffd693e2d (diff) | |
download | ffmpeg-5dc0f607e795a61614cbb9c162f16c1c8cc48a47.tar.gz |
lavu/opt: fix memleak in test
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r-- | libavutil/opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |