]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/events.c
Use pl_Release with the right argument.
[vlc] / modules / video_output / msw / events.c
index 7f1aefc594bddb2954488156234153eed79ae026..60af482f5f9ecbb316253ac027b20855a3d7a4aa 100644 (file)
@@ -865,7 +865,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
         if( p_playlist )
         {
             playlist_Stop( p_playlist );
-            pl_Release( p_playlist );
+            pl_Release( p_vout );
         }
         return 0;
     }