From 5a1797deeddf89511349f9c85eb193a02e204a19 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 15 Jun 2009 16:05:00 +0000 Subject: [PATCH] Free generated graph to make memory check worthwhile --- cmd/dot/dot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index 89b17388d..f8af1b063 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -189,6 +189,7 @@ int main(int argc, char **argv) /* Perform layout and cleanup */ gvLayoutJobs(Gvc, G); /* take layout engine from command line */ gvFreeLayout(Gvc, G); + agclose (G); } } else if ((G = gvPluginsGraph(Gvc))) { -- 2.40.0