[vlc-devel] [PATCH] video-filter: adjust: remove potential leak
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Fri May 5 19:39:04 CEST 2017
---
modules/video_filter/adjust.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index de584a07ca..82318aa6e6 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -187,6 +187,7 @@ static int Create( vlc_object_t *p_this )
default:
msg_Dbg( p_filter, "Unsupported input chroma (%4.4s)",
(char*)&(p_filter->fmt_in.video.i_chroma) );
+ free(p_sys);
return VLC_EGENERIC;
}
--
2.12.0
More information about the vlc-devel
mailing list