]> granicus.if.org Git - graphviz/commitdiff
Fix 2 space leaks.
authorerg <devnull@localhost>
Thu, 28 Jun 2007 18:04:10 +0000 (18:04 +0000)
committererg <devnull@localhost>
Thu, 28 Jun 2007 18:04:10 +0000 (18:04 +0000)
lib/fdpgen/fdpinit.c
lib/fdpgen/layout.c

index 3259057e1c228951d7d9f355de050f680f0c641e..7858c0f83bf86177bac19d85d6a5c6f44368735a 100644 (file)
@@ -68,7 +68,6 @@ static void initialPositions(graph_t * g)
 static void fdp_initNode(node_t * n)
 {
     neato_init_node(n);
-    ND_pos(n) = N_GNEW(GD_ndim(n->graph), double);
 }
 
 /* init_edge:
index 9cfb7ab35bee2fb45d4d4a1ca60bf518a6e9baab..a43d6ff02323b28f286f521900bb06b8a4043111 100644 (file)
@@ -932,6 +932,7 @@ setClustNodes(graph_t* root)
 
     /* set bounding box of dg and reposition nodes */
     finalCC(dg, c_cnt, cc, pts, g, infop);
+    free (pts);
 
     /* record positions from derived graph to input graph */
     /* At present, this does not record port node info */