--- lib/neatogen/neatosplines.c +++ lib/neatogen/neatosplines.c @@ -63,6 +63,8 @@ n = n + poly[i]->pn; } bar = N_GNEW(n, Pedge_t); + if (bar == (Pedge_t *)1) + bar = (Pedge_t *)0; b = 0; for (i = 0; i < npoly; i++) { if (i == pp)