forked from pool/graphviz
078d3f3f28
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=8b479c40994885528b02f4f9809fc37b
12 lines
261 B
Diff
12 lines
261 B
Diff
--- 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)
|