Commit 003586cc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

netsync: fix stale pointer on error

(cherry picked from commit 3cd098faaf269be951f522b0aab0c1ee9dcdfbbe)
parent a5789854
......@@ -296,6 +296,7 @@ static int PlaylistEvent(vlc_object_t *object, char const *cmd,
if (vlc_clone(&sys->thread, sys->is_master ? Master : Slave, intf,
VLC_THREAD_PRIORITY_INPUT)) {
vlc_object_release(input);
sys->input = NULL;
return VLC_SUCCESS;
}
var_AddCallback(input, "intf-event", InputEvent, intf);
......
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