[vlc-commits] Fix memory leak (cid #1049576)
Rémi Duraffort
git at videolan.org
Sat Jul 20 11:52:39 CEST 2013
vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jul 19 21:12:29 2013 +0200| [501a8ad618a459d6e01629ed0a5016e524d9a64c] | committer: Jean-Baptiste Kempf
Fix memory leak (cid #1049576)
(cherry picked from commit 32eec09bf3582be815c784fa23527f0eb14eda4c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=501a8ad618a459d6e01629ed0a5016e524d9a64c
---
src/video_output/vout_intf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 6caf19b..fb288cf 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -501,7 +501,10 @@ void vout_EnableFilter( vout_thread_t *p_vout, const char *psz_name,
free( psz_parser );
}
else
+ {
+ free( psz_string );
return;
+ }
}
else
{
More information about the vlc-commits
mailing list