From 79742d54a5f479d3c160d50b71dfcf0e80483327 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 25 Jun 2007 15:50:22 +0000 Subject: [PATCH] fix for Bug # 1151 by using ZALLOC instead of ALLOC --- lib/common/labels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/labels.c b/lib/common/labels.c index 48bec82d6..44b41d324 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -25,7 +25,7 @@ static void storeline(graph_t *g, textlabel_t *lp, char *line, char terminator) textpara_t *para; lp->u.txt.para = - ALLOC(lp->u.txt.nparas + 2, lp->u.txt.para, textpara_t); + ZALLOC(lp->u.txt.nparas + 2, lp->u.txt.para, textpara_t); para = &(lp->u.txt.para[lp->u.txt.nparas]); para->str = line; para->just = terminator; -- 2.40.0