From: erg Date: Tue, 10 Oct 2006 19:46:43 +0000 (+0000) Subject: Fix bug 1035 X-Git-Tag: LAST_LIBGRAPH~32^2~5837 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12c30aca9f4520b0bd7bea5e1a6ed7a49e238e3e;p=graphviz Fix bug 1035 --- diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index 9e8d26c5e..9093c1a60 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -1586,7 +1586,7 @@ int make_html_label(graph_t *g, textlabel_t * lp, void *obj) unsigned char buf[SMALLBUF]; agxbinit(&xb, SMALLBUF, buf); lp->html = FALSE; - lp->text = nameOf(obj, &xb); + lp->text = strdup(nameOf(obj, &xb)); size_label(env.g, lp); agxbfree(&xb); return rv;