aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorVersus Void <versusvoid@gmail.com>2017-10-05 20:01:56 +0000
committerVersus Void <versusvoid@gmail.com>2017-10-05 20:01:56 +0000
commitc5df6ca900cb445b88ede7e0ea3bb3a9042b5b6f (patch)
treee9919a6c33e5827b53691331e79aa7a5a24524ab /xwayland
parentedadbc7c7f88670afdbabd05a6027c438415c3db (diff)
Fix memory leaks
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 2038ff0f..39989672 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -83,6 +83,10 @@ static void wlr_xwayland_surface_destroy(struct wlr_xwayland_surface *surface) {
}
list_free(surface->state);
free(surface->window_type);
+ free(surface->protocols);
+ free(surface->class);
+ free(surface->instance);
+ free(surface->title);
free(surface);
}