From: ellson Date: Wed, 18 Feb 2009 21:18:23 +0000 (+0000) Subject: restore dot.c X-Git-Tag: LAST_LIBGRAPH~32^2~2461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9915f1c4513370b6f117949df5ba87c10eea2526;p=graphviz restore dot.c --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index edf59b2b3..79a05aae7 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -208,13 +208,10 @@ int main(int argc, char **argv) gvFreeLayout(Gvc, G); } } - else if ((G = gvPluginsGraph(Gvc))) - { - int a=1; - a=a+1; - printf ("twetwtert\n"); - gvLayoutJobs(Gvc, G); /* take layout engine from command line */ + else if ((G = gvPluginsGraph(Gvc))) { + gvLayoutJobs(Gvc, G); /* take layout engine from command line */ gvRenderJobs(Gvc, G); + gvFreeLayout(Gvc, G); } else { while ((G = gvNextInputGraph(Gvc))) {