diff options
author | Guido Cella <guidocella91@gmail.com> | 2020-08-29 08:41:51 +0200 |
---|---|---|
committer | Guido Cella <guidocella91@gmail.com> | 2020-08-29 08:41:51 +0200 |
commit | 3203d1bafd53cfbc84f5a6ab31d1438709e01d5d (patch) | |
tree | dfcb020015cba59041535ffcfd501f40108565a9 | |
parent | ddd3c2ad7ef15d14c920b0678a5a20755c07b4f4 (diff) |
don't handle failed calloc
be consistent with the rest of the code
-rw-r--r-- | dwl.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -878,8 +878,6 @@ createlayersurface(struct wl_listener *listener, void *data) } layersurface = calloc(1, sizeof(LayerSurface)); - if (!layersurface) - return; layersurface->surface_commit.notify = commitlayersurfacenotify; wl_signal_add(&wlr_layer_surface->surface->events.commit, |