This one happened each time the message queue was overflowed.
Also (hopefully) fixed a leak that would happen each time no message
queue were found. I don't know if this condition can ever appear though
if( p_queue == NULL )
{
vlc_mutex_unlock( &p_bank->lock );
+ if( psz_str ) free( psz_str );
+ if( psz_header ) free( psz_header );
return;
}
free( p_item->psz_module );
if( p_item->psz_msg )
free( p_item->psz_msg );
+ if( p_item->psz_header )
+ free( p_item->psz_header );
}
vlc_mutex_unlock ( &p_queue->lock );