mirror of https://github.com/mpv-player/mpv
ao_pipewire: remove unneeded goto
This commit is contained in:
parent
c8d9155c56
commit
b0fb6999a4
|
@ -712,10 +712,10 @@ static void hotplug_registry_global_remove_cb(void *data, uint32_t id)
|
||||||
removed_sink = true;
|
removed_sink = true;
|
||||||
spa_list_remove(&e->node);
|
spa_list_remove(&e->node);
|
||||||
talloc_free(e);
|
talloc_free(e);
|
||||||
goto done;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
done:
|
|
||||||
pw_thread_loop_unlock(priv->loop);
|
pw_thread_loop_unlock(priv->loop);
|
||||||
|
|
||||||
if (removed_sink)
|
if (removed_sink)
|
||||||
|
|
Loading…
Reference in New Issue