[vlc-commits] adjust: fix potential leak

Victorien Le Couviour--Tuffet git at videolan.org
Wed May 10 10:10:47 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Fri May  5 19:39:04 2017 +0200| [31ea700a714224fc13e34fed89a2c912d1ea79b1] | committer: Thomas Guillem

adjust: fix potential leak

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31ea700a714224fc13e34fed89a2c912d1ea79b1
---

 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;
     }
 



More information about the vlc-commits mailing list