diff options
| author | Tony Crisci <tony@dubstepdish.com> | 2017-11-18 14:04:20 -0500 |
|---|---|---|
| committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-18 14:04:20 -0500 |
| commit | 458fe633df7827f5b74c034026b6b67045c1e610 (patch) | |
| tree | 5023bac3638960ef0eda89554865e2a612804486 | |
| parent | f17c3947eafca8a1d73a937a30ed8794d23d14d4 (diff) | |
| download | wlroots-458fe633df7827f5b74c034026b6b67045c1e610.tar.xz | |
data-device: fix memory leak
| -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; } |
