Commit f809a7d0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

qt4: Don't forget to vlc_gc_decref() the input_item_t once we are done with it in OpenDialog::finish().
parent c5d93bc5
......@@ -314,6 +314,7 @@ void OpenDialog::finish( bool b_enqueue = false )
playlist_AddInput( THEPL, p_input,
PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
PLAYLIST_END, VLC_TRUE, VLC_FALSE );
vlc_gc_decref( p_input );
}
}
else
......
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