]> granicus.if.org Git - graphviz/commitdiff
Fix bug in circo: component subgraphs were being freed in the
authorerg <devnull@localhost>
Fri, 4 Sep 2009 17:47:42 +0000 (17:47 +0000)
committererg <devnull@localhost>
Fri, 4 Sep 2009 17:47:42 +0000 (17:47 +0000)
context of the original graph, not the derived graph

lib/circogen/circularinit.c

index 869b4ef7fd6e4ab047c6d1a310d34bc128b4d3d2..4056edcc96610fbc0275305c39fb458778efc6f1 100644 (file)
@@ -255,9 +255,6 @@ void circoLayout(Agraph_t * g)
            for (i = 0; i < ncc; i++)
                copyPosns(ccs[i]);
        }
-       for (i = 0; i < ncc; i++) {
-           agdelete(g, ccs[i]);
-       }
        free(ccs);
     }
 }