]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs/wizard.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / wxwidgets / dialogs / wizard.cpp
index 07f559dd5a2bc10b166080a529de5aed09647812..8d0c6f5deba80bf69ac9fce908c139b404f3e5dc 100644 (file)
@@ -599,7 +599,7 @@ wizInputPage::wizInputPage( wxWizard *parent, wxWizardPage *prev, intf_thread_t
         {
             input_radios[1]->Disable();
         }
-        pl_Release( p_playlist );
+        pl_Release( p_intf );
     }
     else
     {
@@ -727,7 +727,7 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
                 }
                 else
                     event.Veto();
-                pl_Release( p_playlist );
+                pl_Release( p_intf );
             }
             else
                 event.Veto();
@@ -1633,7 +1633,7 @@ void WizardDialog::Run()
             playlist_AddInput( p_playlist, p_input,
                                PLAYLIST_GO, PLAYLIST_END, true, pl_Unlocked );
             vlc_gc_decref( p_input );
-            pl_Release( p_playlist );
+            pl_Release( p_intf );
         }
         else
         {