aboutsummaryrefslogtreecommitdiff
path: root/rootston/seat.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-16 06:54:49 -0500
committerGitHub <noreply@github.com>2017-11-16 06:54:49 -0500
commit900d9dc05e83dda18086b4cb2f6bcce06ed7b387 (patch)
tree0f7b541296b28c3ebf14a678483bc8f19296bd24 /rootston/seat.c
parent57a355a6a778c1b23de8728f407b10cc2e481758 (diff)
parentbb79ada49f43be5417bdd55fda3a7cf07c2a69df (diff)
Merge pull request #422 from emersion/scan-build-fixes
Fix a bunch of mistakes detected with scan-build
Diffstat (limited to 'rootston/seat.c')
-rw-r--r--rootston/seat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 6d8dc749..1fa37c44 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -252,7 +252,6 @@ struct roots_seat *roots_seat_create(struct roots_input *input, char *name) {
seat->seat = wlr_seat_create(input->server->wl_display, name);
if (!seat->seat) {
free(seat);
- roots_cursor_destroy(seat->cursor);
return NULL;
}