Commit 564cbe7b authored by ivoire's avatar ivoire
Browse files

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 */
......
Supports Markdown
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