summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-06-05 14:32:51 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-06-07 22:13:59 +0200
commit61c266d72f26a72c72feae12b2ceb23da09c9fae (patch)
tree82e78756e05f84d3aa83e65b29e3b06973fa36dd /libavutil
parent42b774ab6f45f755d0a1ee1464c415a93326736a (diff)
opt: free test_ctx.string at the end.
Makes valgrind happy.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/opt.c1
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;