]> git.sesse.net Git - vlc/blobdiff - src/misc/messages.c
Make Zorglub less unhappy
[vlc] / src / misc / messages.c
index 1ff74c6f76adcbdaa186a0e2127c3b8a66885b6a..6a14efc27413d862c5f93e6f06ff91117cc09805 100644 (file)
@@ -3,7 +3,7 @@
  * This library provides an interface to the message queue to be used by other
  * modules, especially intf modules. See config.h for output configuration.
  *****************************************************************************
- * Copyright (C) 1998-2004 VideoLAN
+ * Copyright (C) 1998-2004 the VideoLAN team
  * $Id$
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
@@ -209,6 +209,8 @@ void __msg_Unsubscribe( vlc_object_t *p_this, msg_subscription_t *p_sub )
     /* Remove this subscription */
     REMOVE_ELEM( p_bank->pp_sub, p_bank->i_sub, i_index );
 
+    free( p_sub );
+
     vlc_mutex_unlock( &p_bank->lock );
 }