[FFmpeg-devel] [PATCH]lavfi/nnedi: Fix a memleak

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Feb 22 23:35:42 CET 2016


Hi!

Attached patch fixes a small memleak for me when using the nnedi filter.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index 330d3d6..b14aa64 100644
--- a/libavfilter/vf_nnedi.c
+++ b/libavfilter/vf_nnedi.c
@@ -1173,6 +1173,7 @@ static av_cold void uninit(AVFilterContext *ctx)
 
     av_freep(&s->frame_data.input);
     av_freep(&s->frame_data.temp);
+    av_freep(&s->fdsp);
     av_frame_free(&s->second);
 }
 


More information about the ffmpeg-devel mailing list