git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761f863
)
mmsh: fix potential memleak
author
Jean-Paul Saman
<jean-paul.saman@m2x.nl>
Tue, 12 May 2009 12:18:36 +0000
(14:18 +0200)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Thu, 14 May 2009 16:58:54 +0000
(18:58 +0200)
(cherry picked from commit
5cc974b1a4bb383006a380d4c9e0011e47cefde1
)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/mms/mmsh.c
patch
|
blob
|
history
diff --git
a/modules/access/mms/mmsh.c
b/modules/access/mms/mmsh.c
index
95bbdea
..
1cf4e8b
100644
(file)
--- a/
modules/access/mms/mmsh.c
+++ b/
modules/access/mms/mmsh.c
@@
-172,6
+172,9
@@
int MMSHOpen( access_t *p_access )
if( !p_input )
{
+ vlc_UrlClean( &p_sys->proxy );
+ vlc_UrlClean( &p_sys->url );
+ free( p_sys );
free( psz_location );
return VLC_EGENERIC;
}