mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
data-device: fix memory leak
This commit is contained in:
parent
f17c3947ea
commit
458fe633df
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue