]> granicus.if.org Git - graphviz/commitdiff
Fix undeclared variable
authorEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:19:57 +0000 (14:19 -0400)
committerEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:19:57 +0000 (14:19 -0400)
lib/fdpgen/layout.c

index 0f79f4f5c6561d00a1c0ff7f662dfcb07ac3ed69..bdcd1d40abc34adce1840146240cc1c61dca6bb7 100644 (file)
@@ -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);