]> granicus.if.org Git - graphviz/commitdiff
Fix bug with uninitialized name field in port structure.
authorerg <devnull@localhost>
Tue, 24 Feb 2009 23:08:58 +0000 (23:08 +0000)
committererg <devnull@localhost>
Tue, 24 Feb 2009 23:08:58 +0000 (23:08 +0000)
lib/dotgen/sameport.c

index 10499a45e7b122bfaec0d65d7f3887f55635d79c..dc7228deaa95ad295edbeea11468cd8de393eb52 100644 (file)
@@ -182,6 +182,7 @@ static void sameport(node_t * u, elist * l, double arr_len)
     prt.dyna = FALSE;
     prt.theta = 0;
     prt.side = 0;
+    prt.name = NULL;
 
 #ifdef OBSOLETE
 /* This is commented because a version of gcc cannot handle it otherwise.