git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
itml: fix memleak.
[vlc.git]
/
modules
/
demux
/
playlist
/
itml.c
diff --git
a/modules/demux/playlist/itml.c
b/modules/demux/playlist/itml.c
index
dfa93ad
..
6dc87bf
100644
(file)
--- 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" ) )
{
/* special case: key */
if( !strcmp( p_handler->name, "key" ) )
{
+ free( psz_key );
psz_key = strdup( psz_value );
}
/* call the simple handler */
psz_key = strdup( psz_value );
}
/* call the simple handler */