[vlc-devel] commit: itml: fix memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Jul 15 22:17:54 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 15 21:32:32 2009 +0200| [564cbe7b5c50f0ced8ed1b6a1b1ac1d99ce6dd0b] | committer: Rémi Duraffort
itml: fix memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=564cbe7b5c50f0ced8ed1b6a1b1ac1d99ce6dd0b
---
modules/demux/playlist/itml.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/demux/playlist/itml.c b/modules/demux/playlist/itml.c
index dfa93ad..6dc87bf 100644
--- a/modules/demux/playlist/itml.c
+++ b/modules/demux/playlist/itml.c
@@ -266,6 +266,7 @@ static bool parse_dict( demux_t *p_demux, input_item_t *p_input_item,
/* special case: key */
if( !strcmp( p_handler->name, "key" ) )
{
+ free( psz_key );
psz_key = strdup( psz_value );
}
/* call the simple handler */
More information about the vlc-devel
mailing list