mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
opt: fix memleak on error of range_array
Fixes CID747739 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0a60f83075
commit
22e4988673
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user