]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs/open.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / wxwidgets / dialogs / open.cpp
index 562f81f62bcc22ef8ccddb092ab76b5e332febd1..7430c62290d8bec87ab11ee5bbef3bd144f98ce8 100644 (file)
@@ -1206,10 +1206,10 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
         /* FIXME: playlist_AddInput() can fail */
         playlist_AddInput( p_playlist, p_input,
                PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
-               PLAYLIST_END, true, false );
+               PLAYLIST_END, true, pl_Unlocked );
         vlc_gc_decref( p_input );
     }
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 
     Hide();