mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
cmdutils: fix opt_values leak
Add free to uninit_opts and relocate opt_names to same Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 3a6a9cdf5b8e4c4514e483484ef1f57b07ee16f2)
This commit is contained in:
parent
fd0ae17aaf
commit
ba3517aa6f
@ -78,6 +78,8 @@ void uninit_opts(void)
|
||||
#if CONFIG_SWSCALE
|
||||
av_freep(&sws_opts);
|
||||
#endif
|
||||
av_freep(&opt_names);
|
||||
av_freep(&opt_values);
|
||||
}
|
||||
|
||||
void log_callback_help(void* ptr, int level, const char* fmt, va_list vl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user