Commit 22e49886 authored by Michael Niedermayer's avatar Michael Niedermayer

opt: fix memleak on error of range_array

Fixes CID747739
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0a60f830
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment