summaryrefslogtreecommitdiff
path: root/xwayland/dnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/dnd.c')
-rw-r--r--xwayland/dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/dnd.c b/xwayland/dnd.c
index a036b30f..f17e4cd0 100644
--- a/xwayland/dnd.c
+++ b/xwayland/dnd.c
@@ -162,7 +162,7 @@ handle_enter(struct weston_wm *wm, xcb_client_message_event_t *client_message)
xcb_get_property_cookie_t cookie;
xcb_get_property_reply_t *reply;
- source = malloc(sizeof *source);
+ source = zalloc(sizeof *source);
if (source == NULL)
return;