diff options
-rw-r--r-- | types/wlr_data_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_data_device.c b/types/wlr_data_device.c index eb8a3503..6328fd09 100644 --- a/types/wlr_data_device.c +++ b/types/wlr_data_device.c @@ -645,6 +645,7 @@ static bool seat_client_start_drag(struct wlr_seat_client *client, } if (!drag->is_pointer_grab && !is_touch_grab) { + free(drag); return true; } |