Commit 134f4a7b authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Fixed order between xmlFreeTextReader and xmlCleanupParser.

 I am not sure it had consequences, but it seems more logical and
it follows the libxml2 code example I found (reader1.c).
parent 45991a80
......@@ -179,12 +179,12 @@ static void ReaderClose( vlc_object_t *p_this )
xml_reader_t *p_reader = (xml_reader_t *)p_this;
xmlFreeTextReader( (void *)p_reader->p_sys );
vlc_mutex_lock( &lock );
vlc_mutex_unlock( &lock );
xmlFreeTextReader( (void *)p_reader->p_sys );
static int ReaderUseDTD ( xml_reader_t *p_reader )
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