mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue