mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
6b47495397
commit
3a6a9cdf5b
|
@ -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…
Reference in New Issue