mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 10:44:25 +00:00
pipewire: Fix memleak upon compositor shutdown
This happens when shutting the compositor, and follows-up with the remoting plug-in. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
5db6d19e6b
commit
aa78da2465
|
@ -638,6 +638,8 @@ weston_pipewire_destroy(struct wl_listener *l, void *data)
|
|||
wl_event_source_remove(pipewire->loop_source);
|
||||
pw_loop_leave(pipewire->loop);
|
||||
pw_loop_destroy(pipewire->loop);
|
||||
|
||||
free(pipewire);
|
||||
}
|
||||
|
||||
static struct weston_pipewire *
|
||||
|
|
Loading…
Reference in a new issue