diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2023-02-16 21:37:07 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-05-16 10:44:25 +0300 |
commit | 597437a0964faa9e58d67395f43c09f62989c681 (patch) | |
tree | 3602be4b6bf5976912e7a9f19fb82f5daa4ca806 | |
parent | eaa777b914bfb15c4c5a332ab1cc0216530a1087 (diff) |
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)
-rw-r--r-- | pipewire/pipewire-plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pipewire/pipewire-plugin.c b/pipewire/pipewire-plugin.c index 629c66ec..2c91ee7f 100644 --- a/pipewire/pipewire-plugin.c +++ b/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 * |