diff --git a/clients/cliptest.c b/clients/cliptest.c index b8247158..7d58551a 100644 --- a/clients/cliptest.c +++ b/clients/cliptest.c @@ -791,9 +791,7 @@ cliptest_create(struct display *display) { struct cliptest *cliptest; - cliptest = malloc(sizeof *cliptest); - if (cliptest == NULL) - return cliptest; + cliptest = xmalloc(sizeof *cliptest); memset(cliptest, 0, sizeof *cliptest); cliptest->surface.geometry = &cliptest->geometry;