misc/events.c: Fix previous commit.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 27 Aug 2007 20:37:35 +0000 (20:37 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 27 Aug 2007 20:37:35 +0000 (20:37 +0000)
src/misc/events.c

index b5ac50c..45a02b4 100644 (file)
@@ -188,7 +188,7 @@ void vlc_event_send( vlc_event_manager_t * p_em,
                     cached_listener->psz_debug_name,
                     ppsz_event_type_to_name[p_event->type],
                     cached_listener->p_user_data );
-        free(psz_debug_name);
+        free(cached_listener->psz_debug_name);
 #endif
 
         cached_listener->pf_callback( p_event, cached_listener->p_user_data );