From a2763b3fe175ba31306dd01968ce57e95ea738ec Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 30 Jul 2013 15:18:14 -0400 Subject: [PATCH] Fix bug 2316 --- lib/ortho/maze.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.40.0