[vlc-devel] commit: vcdx: fix potential memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Mar 22 18:18:02 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar 22 18:04:14 2009 +0100| [e5e2bd38f8b7ed704bbf93204a3dc5bb08c7bedf] | committer: Rémi Duraffort
vcdx: fix potential memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5e2bd38f8b7ed704bbf93204a3dc5bb08c7bedf
---
modules/access/vcdx/access.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index 1274c72..15d02e8 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -980,6 +980,7 @@ VCDOpen ( vlc_object_t *p_this )
err_exit:
if( p_vcdplayer->p_input ) vlc_object_release( p_vcdplayer->p_input );
free( psz_source );
+ free( p_vcdplayer->psz_source );
free( p_vcdplayer );
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list