Commit 732a6d72 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

misc/events.c: Fix a leak in debug mode.

parent c5ca3b08
...@@ -188,6 +188,7 @@ void vlc_event_send( vlc_event_manager_t * p_em, ...@@ -188,6 +188,7 @@ void vlc_event_send( vlc_event_manager_t * p_em,
cached_listener->psz_debug_name, cached_listener->psz_debug_name,
ppsz_event_type_to_name[p_event->type], ppsz_event_type_to_name[p_event->type],
cached_listener->p_user_data ); cached_listener->p_user_data );
free(psz_debug_name);
#endif #endif
cached_listener->pf_callback( p_event, cached_listener->p_user_data ); cached_listener->pf_callback( p_event, cached_listener->p_user_data );
......
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