Commit 63d258d3 authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Rafaël Carré

wxwidgets: Don't forget to vlc_gc_decref() the input_item_t once we are done...

wxwidgets: Don't forget to vlc_gc_decref() the input_item_t once we are done (Patch inspired from Qt interface)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 79bd7201
......@@ -1209,6 +1209,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
playlist_AddInput( p_playlist, p_input,
PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
PLAYLIST_END, VLC_TRUE, VLC_FALSE );
vlc_gc_decref( p_input );
}
vlc_object_release( p_playlist );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment