[vlc-devel] commit: Fix memory leak in dummy input ( Rafaël Carré )
git version control
git at videolan.org
Tue May 6 13:23:30 CEST 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Mon May 5 14:30:54 2008 +0200| [9e0c404a0a0357a5dc08801a1376f30b37d5eefe]
Fix memory leak in dummy input
(cherry picked from commit 62a71b894cc3f4e61475cf082b67f2fc125db991)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e0c404a0a0357a5dc08801a1376f30b37d5eefe
---
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 e6f62e2..e2aae6e 100644
--- a/modules/misc/dummy/input.c
+++ b/modules/misc/dummy/input.c
@@ -100,6 +100,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