]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/menus.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / wince / menus.cpp
index db7306c283be42f6a4801bef0a7fbbafb5df3c59..75b27c152179af72010a052f65685d10a3e2e255 100644 (file)
@@ -227,7 +227,7 @@ void PopupMenu( intf_thread_t *p_intf, HWND p_parent, POINT point )
             AppendMenu( hmenu, MF_SEPARATOR, 0, _T("") );
             AppendMenu( hmenu, MF_STRING, PlayStream_Event, _T("Play") );
         }
-        if( p_playlist ) pl_Release( p_playlist );
+        if( p_playlist ) pl_Release( p_intf );
     }
 
     AppendMenu( hmenu, MF_POPUP|MF_STRING, (UINT)MiscMenu( p_intf ),