From 96e4965fed1a141c75affe678a52643bde08828a Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Fri, 7 Oct 2011 14:19:57 -0400 Subject: [PATCH] Fix undeclared variable --- lib/fdpgen/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fdpgen/layout.c b/lib/fdpgen/layout.c index 0f79f4f5c..bdcd1d40a 100644 --- a/lib/fdpgen/layout.c +++ b/lib/fdpgen/layout.c @@ -232,7 +232,7 @@ static void freeDerivedGraph(graph_t * g, graph_t ** cc) free(PORTS(g)); freeGData(g); #ifdef WITH_CGRAPH - agdelrec(dg, "Agraphinfo_t"); + agdelrec(g, "Agraphinfo_t"); #endif for (dn = agfstnode(g); dn; dn = dnxt) { dnxt = agnxtnode(g, dn); -- 2.40.0