diff options
Diffstat (limited to 'xwayland/server.c')
-rw-r--r-- | xwayland/server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/server.c b/xwayland/server.c index aee15002..d53f8ada 100644 --- a/xwayland/server.c +++ b/xwayland/server.c @@ -454,8 +454,7 @@ struct wlr_xwayland_server *wlr_xwayland_server_create( return NULL; } - struct wlr_xwayland_server *server = - calloc(1, sizeof(struct wlr_xwayland_server)); + struct wlr_xwayland_server *server = calloc(1, sizeof(*server)); if (!server) { return NULL; } |