Commit 317a7c51 authored by Rémi Duraffort's avatar Rémi Duraffort

itml: fix memleak.

(cherry picked from commit 564cbe7b)

Conflicts:

	modules/demux/playlist/itml.c
parent 126d1d4d
...@@ -276,6 +276,7 @@ static bool parse_dict COMPLEX_INTERFACE ...@@ -276,6 +276,7 @@ static bool parse_dict COMPLEX_INTERFACE
/* 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