X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flevene.c;h=a005c9436091ecd58b992b936be5e74312a405bd;hb=cee6f0eb54144da7034566fa1bcdcee22337ae6a;hp=5785623a6ab0fd519d2a7d8105833f2528c71b8d;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;p=pspp diff --git a/src/math/levene.c b/src/math/levene.c index 5785623a6a..a005c94360 100644 --- a/src/math/levene.c +++ b/src/math/levene.c @@ -118,7 +118,7 @@ find_group (const struct levene *nl, const union value *target) struct levene * levene_create (int indep_width, const union value *cutpoint) { - struct levene *nl = xzalloc (sizeof *nl); + struct levene *nl = XZALLOC (struct levene); hmap_init (&nl->hmap); @@ -146,7 +146,7 @@ levene_pass_one (struct levene *nl, double value, double weight, const union val if (NULL == lev) { - struct lev *l = xzalloc (sizeof *l); + struct lev *l = XZALLOC (struct lev); value_clone (&l->group, gv, nl->gvw); hmap_insert (&nl->hmap, &l->node, nl->hash (nl, &l->group)); lev = l;