diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-05 13:08:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 13:08:18 -0400 |
commit | cec012019f6146b1376bb787dc96b73c7de82266 (patch) | |
tree | 383ea29795a696159cc35dfc9b30cfd251742895 /xwayland | |
parent | 77eae178c725d13fee4862718af2a3029b128f41 (diff) | |
parent | c5df6ca900cb445b88ede7e0ea3bb3a9042b5b6f (diff) |
Merge pull request #208 from versusvoid/memory
Fix memory leaks
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/xwm.c | 4 |
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); } |