Commit 564cbe7b authored by Rémi Duraffort's avatar Rémi Duraffort

itml: fix memleak.

parent 25def74f
...@@ -266,6 +266,7 @@ static bool parse_dict( demux_t *p_demux, input_item_t *p_input_item, ...@@ -266,6 +266,7 @@ static bool parse_dict( demux_t *p_demux, input_item_t *p_input_item,
/* special case: key */ /* special case: key */
if( !strcmp( p_handler->name, "key" ) ) if( !strcmp( p_handler->name, "key" ) )
{ {
free( psz_key );
psz_key = strdup( psz_value ); psz_key = strdup( psz_value );
} }
/* call the simple handler */ /* call the simple handler */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment