Commit 2eb5e4cd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: Don't leak the ARRAY.

parent a5647949
......@@ -97,8 +97,10 @@ void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
FOREACH_ARRAY( listener, listeners_group->listeners )
free( listener );
FOREACH_END()
ARRAY_RESET( listeners_group->listeners );
free( listeners_group );
FOREACH_END()
ARRAY_RESET( p_em->listeners_groups );
free( p_em );
}
......
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