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>
(cherry picked from commit aa78da24659a97b82bcf1e28b985ea4f9fce4499)
dev
Marius Vlad 2 years ago
parent eaa777b914
commit 597437a096
  1. 2
      pipewire/pipewire-plugin.c

@ -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…
Cancel
Save