]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / wxwidgets / dialogs.cpp
index 2204abf445f9d6a6ab1ba8c675a2c4eeb7d27e49..898302a1d58b76d70c8262a8551bc8247930e8e5 100644 (file)
@@ -471,7 +471,7 @@ void DialogsProvider::OnOpenFileSimple( wxCommandEvent& event )
             wxLocaleFree( psz_utf8 );
         }
     }
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void DialogsProvider::OnOpenDirectory( wxCommandEvent& event )
@@ -494,7 +494,7 @@ void DialogsProvider::OnOpenDirectory( wxCommandEvent& event )
                       PLAYLIST_END, true, false );
         wxLocaleFree( psz_utf8 );
     }
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void DialogsProvider::OnOpenFile( wxCommandEvent& event )