summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/af_silencedetect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index aea94b21c7..2ea5d7f5bc 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -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;
}