From: Emden R. Gansner Date: Tue, 30 Jul 2013 19:18:14 +0000 (-0400) Subject: Fix bug 2316 X-Git-Tag: LAST_LIBGRAPH~32^2~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2763b3fe175ba31306dd01968ce57e95ea738ec;p=graphviz Fix bug 2316 --- diff --git a/lib/ortho/maze.c b/lib/ortho/maze.c index 478472a01..7fcc9fdeb 100644 --- a/lib/ortho/maze.c +++ b/lib/ortho/maze.c @@ -408,7 +408,7 @@ mkMazeGraph (maze* mp, boxf bb) nsides += cp->nsides; if (cp->nsides > maxdeg) maxdeg = cp->nsides; } - RALLOC (nsides, sides, snode*); + /* sides = RALLOC (nsides, sides, snode*); */ /* Mark cells that are small because of a small node, not because of the close * alignment of two rectangles. @@ -434,8 +434,8 @@ mkMazeGraph (maze* mp, boxf bb) } /* tidy up memory */ - g->nodes = RALLOC (g->nnodes+2, g->nodes, snode); - g->edges = RALLOC (g->nedges+2*maxdeg, g->edges, sedge); + /* g->nodes = RALLOC (g->nnodes+2, g->nodes, snode); */ + /* g->edges = RALLOC (g->nedges+2*maxdeg, g->edges, sedge); */ dtclose (vdict); dtclose (hdict); free (ditems);