aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r--xwayland/xwayland.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c
index f0999120..dc782284 100644
--- a/xwayland/xwayland.c
+++ b/xwayland/xwayland.c
@@ -50,8 +50,6 @@ static void handle_server_ready(struct wl_listener *listener, void *data) {
struct wlr_xwayland_cursor *cur = xwayland->cursor;
xwm_set_cursor(xwayland->xwm, cur->pixels, cur->stride, cur->width,
cur->height, cur->hotspot_x, cur->hotspot_y);
- free(cur);
- xwayland->cursor = NULL;
}
wlr_signal_emit_safe(&xwayland->events.ready, NULL);