[vlc-commits] adjust: fix double free on unsupported chroma
Tristan Matthews
git at videolan.org
Thu Mar 5 17:57:47 CET 2020
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Mar 4 16:00:50 2020 -0500| [3b20ca5ea7558123608e3fe2e227329c235a8c65] | committer: Tristan Matthews
adjust: fix double free on unsupported chroma
Regression since:
commit 4316cfda13ff87f5d579f5562def1bc4e24f9731
Author: RĂ©mi Denis-Courmont <remi at remlab.net>
Date: Wed Feb 26 20:44:13 2020 +0200
adjust: use vlc_obj_malloc()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b20ca5ea7558123608e3fe2e227329c235a8c65
---
modules/video_filter/adjust.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index c48d9b5ec3..063af77f22 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -189,7 +189,6 @@ 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