From: erg Date: Tue, 19 Jun 2007 17:59:21 +0000 (+0000) Subject: Fix memory leak. X-Git-Tag: LAST_LIBGRAPH~32^2~5540 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=952049a2ddeb4e775cf0c046557464a6269a6e3a;p=graphviz Fix memory leak. --- diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 708e10683..88c516330 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -1401,6 +1401,7 @@ void neato_layout(Agraph_t * g) free_scan_graph(gc); agdelete(g, gc); } + free (cc); #ifdef IPSEPCOLA { graph_t *mg, *subg;