|
|
@ -791,9 +791,7 @@ cliptest_create(struct display *display) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct cliptest *cliptest; |
|
|
|
struct cliptest *cliptest; |
|
|
|
|
|
|
|
|
|
|
|
cliptest = malloc(sizeof *cliptest); |
|
|
|
cliptest = xmalloc(sizeof *cliptest); |
|
|
|
if (cliptest == NULL) |
|
|
|
|
|
|
|
return cliptest; |
|
|
|
|
|
|
|
memset(cliptest, 0, sizeof *cliptest); |
|
|
|
memset(cliptest, 0, sizeof *cliptest); |
|
|
|
|
|
|
|
|
|
|
|
cliptest->surface.geometry = &cliptest->geometry; |
|
|
|
cliptest->surface.geometry = &cliptest->geometry; |
|
|
|