[vlc-devel] commit: Fix memory leak in dummy input ( Rafaël Carré )
git version control
git at videolan.org
Mon May 5 14:29:46 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon May 5 14:30:54 2008 +0200| [62a71b894cc3f4e61475cf082b67f2fc125db991]
Fix memory leak in dummy input
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=62a71b894cc3f4e61475cf082b67f2fc125db991
---
modules/misc/dummy/input.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/misc/dummy/input.c b/modules/misc/dummy/input.c
index f05eebf..3387b00 100644
--- a/modules/misc/dummy/input.c
+++ b/modules/misc/dummy/input.c
@@ -107,6 +107,7 @@ int E_(OpenAccess)( vlc_object_t *p_this )
p_access->p_sys = NULL;
/* Force dummy demux plug-in */
+ free( p_access->psz_demux );
p_access->psz_demux = strdup( "vlc" );
return VLC_SUCCESS;
More information about the vlc-devel
mailing list