From: ellson Date: Mon, 25 Jun 2007 15:50:22 +0000 (+0000) Subject: fix for Bug # 1151 by using ZALLOC instead of ALLOC X-Git-Tag: LAST_LIBGRAPH~32^2~5537 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79742d54a5f479d3c160d50b71dfcf0e80483327;p=graphviz fix for Bug # 1151 by using ZALLOC instead of ALLOC --- 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;