diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2020-06-04 16:23:51 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-07-27 10:49:19 +0200 |
commit | 1ae2d976c0798d5aaaaced277e931e7e18187536 (patch) | |
tree | a26ff1836c6997b746778a8fa24f9f1b5af266da | |
parent | d9bb792794ce476ac79fdc0971fc01aeb3e5c8a0 (diff) |
xwayland: free server in error path
-rw-r--r-- | xwayland/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index ccec7c67..4cb103af 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -89,7 +89,7 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, }; xwayland->server = wlr_xwayland_server_create(wl_display, &options); if (xwayland->server == NULL) { - free(xwayland->server); + free(xwayland); return NULL; } |