~ruther/dwl

3203d1bafd53cfbc84f5a6ab31d1438709e01d5d — Guido Cella 4 years ago ddd3c2a
don't handle failed calloc

be consistent with the rest of the code
1 files changed, 0 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +0 -2
@@ 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,

Do not follow this link