From fd8b144999688bdda90c35a68309fc6dd937c673 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 8 Jul 2013 11:16:28 -0400 Subject: [PATCH] Fix case where node has record shape and label=. (28 Mar 2013) --- 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 941edd1a2..b59526726 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -214,7 +214,7 @@ void free_label(textlabel_t * p) if (p) { free(p->text); if (p->html) { - free_html_label(p->u.html, 1); + if (p->u.html) free_html_label(p->u.html, 1); } else { free_textpara(p->u.txt.para, p->u.txt.nparas); } -- 2.40.0