Commit df4a1af9 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc_event: Fix a typo in libvlc_event_manager_release(), that result in a...

libvlc_event: Fix a typo in libvlc_event_manager_release(), that result in a double free(). (Issue reported by Rov Juvano).
parent 1290cd7e
......@@ -101,7 +101,7 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
p_lg = vlc_array_item_at_index( &p_em->listeners_groups, i );
for( j = 0; j < vlc_array_count(&p_lg->listeners); j++)
free( vlc_array_item_at_index( &p_em->listeners_groups, i ) );
free( vlc_array_item_at_index( &p_em->listeners_groups, j ) );
vlc_array_clear( &p_lg->listeners );
free( p_lg );
......
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