You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavfi/silencedetect: add av_opt_free() call.
This avoids a memleak with noise_str.
This commit is contained in:
@@ -73,6 +73,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
|
||||
silence->noise_str);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
av_opt_free(silence);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user