diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 00:00:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 00:03:23 +0100 |
commit | 22e4988673df322b98c1d38782d4d8aa98d3a518 (patch) | |
tree | 5682b6a8cf3f9de86440fd9ff0c436e5b82184dc /libavutil | |
parent | 0a60f83075883f5d73c7f7f20d00ad31897178c2 (diff) | |
download | ffmpeg-22e4988673df322b98c1d38782d4d8aa98d3a518.tar.gz |
opt: fix memleak on error of range_array
Fixes CID747739
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-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 d388b7d46e..48078e3274 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1279,6 +1279,7 @@ int av_opt_query_ranges_default(AVOptionRanges **ranges_arg, void *obj, const ch fail: av_free(ranges); av_free(range); + av_free(range_array); return ret; } |