diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-16 16:19:17 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-16 16:19:17 -0500 |
commit | 584ff1df4c4151994410f4c82fabab32d352975c (patch) | |
tree | 06f2933b03384ad904ee214ba2c305d3ac63f3f8 /rootston/cursor.c | |
parent | 12758a00a2d388b050386f017a3a273c1302e648 (diff) | |
parent | 10f3be73843250c400531873b4dd27dba44919fd (diff) |
Merge branch 'master' into feature/wlr-seat-touch
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r-- | rootston/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c index b6325fdc..35fe9c25 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -18,9 +18,9 @@ struct roots_cursor *roots_cursor_create(struct roots_seat *seat) { } cursor->cursor = wlr_cursor_create(); if (!cursor->cursor) { + free(cursor); return NULL; } - return cursor; } |