[vlc-devel] commit: opengl: fix potential memleak (Jean-Paul Saman )
git version control
git at videolan.org
Tue May 5 11:48:48 CEST 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Fri May 1 16:12:57 2009 +0200| [65618ab04f5047f55938a2ca0bcdefe20b8269a1] | committer: Jean-Paul Saman
opengl: fix potential memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65618ab04f5047f55938a2ca0bcdefe20b8269a1
---
modules/video_output/opengl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 698defc..12dda3e 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -207,6 +207,7 @@ static int CreateVout( vlc_object_t *p_this )
msg_Warn( p_vout, "No OpenGL provider found" );
vlc_object_detach( p_sys->p_vout );
vlc_object_release( p_sys->p_vout );
+ free( p_sys );
return VLC_ENOOBJ;
}
More information about the vlc-devel
mailing list