]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/notify.c
Use pl_Release with the right argument.
[vlc] / modules / misc / notify / notify.c
index 1874fb03377409b0890285dfeef4f6999424483c..81b85ca8bfd8c2bfe77e66c64f8813a9216917fb 100644 (file)
@@ -28,7 +28,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_interface.h>
 #include <vlc_playlist.h>
@@ -150,7 +150,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     intf_sys_t          *p_sys          = p_intf->p_sys;
 
     p_input = p_playlist->p_input;
-    pl_Release( p_playlist );
+    pl_Release( p_this );
 
     if( !p_input ) return VLC_SUCCESS;
     vlc_object_yield( p_input );