From 3258be379934df4268efa89c2b81a91acc58687c Mon Sep 17 00:00:00 2001 From: John Ellson Date: Tue, 20 Dec 2016 21:39:32 -0500 Subject: [PATCH] redo 2.40 stable release with neatoinit.c change reverted --- autogen.sh | 2 +- lib/neatogen/neatoinit.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/autogen.sh b/autogen.sh index fa7b68229..10dccc50b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -24,7 +24,7 @@ dnl even => stable series dnl For the micro number: 0 => in-progress development dnl timestamp => tar-file snapshot or release m4_define(graphviz_version_major, 2) -m4_define(graphviz_version_minor, 41) +m4_define(graphviz_version_minor, 40) dnl NB: the next line gets changed to a date/time string for development releases m4_define(graphviz_version_micro, $GRAPHVIZ_VERSION_DATE) m4_define(graphviz_version_date, $GRAPHVIZ_VERSION_DATE) diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index b843015c8..61c53b347 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -772,7 +772,7 @@ static vtx_data *makeGraphData(graph_t * g, int nv, int *nedges, int mode, int m vtx_data *graph; node_t** nodes; int ne = agnedges(g); /* upper bound */ - int *edges = NULL; + int *edges; float *ewgts = NULL; node_t *np; edge_t *ep; @@ -918,9 +918,6 @@ static vtx_data *makeGraphData(graph_t * g, int nv, int *nedges, int mode, int m else free (nodes); freePM(ps); - free(edges); - free(edists); - free(ewgts); return graph; } -- 2.40.0