diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-05 14:32:51 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-07 22:13:59 +0200 |
commit | 61c266d72f26a72c72feae12b2ceb23da09c9fae (patch) | |
tree | 82e78756e05f84d3aa83e65b29e3b06973fa36dd | |
parent | 42b774ab6f45f755d0a1ee1464c415a93326736a (diff) | |
download | ffmpeg-61c266d72f26a72c72feae12b2ceb23da09c9fae.tar.gz |
opt: free test_ctx.string at the end.
Makes valgrind happy.
-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 9af3fe47cb..cab453bd67 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -962,6 +962,7 @@ int main(void) av_log(&test_ctx, AV_LOG_ERROR, "Error setting options string: '%s'\n", options[i]); printf("\n"); } + av_freep(&test_ctx.string); } return 0; |