[vlc-commits] Fix memory leak (cid #1049576)
Rémi Duraffort
git at videolan.org
Fri Jul 19 21:12:52 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jul 19 21:12:29 2013 +0200| [32eec09bf3582be815c784fa23527f0eb14eda4c] | committer: Rémi Duraffort
Fix memory leak (cid #1049576)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32eec09bf3582be815c784fa23527f0eb14eda4c
---
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