summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/patree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/patree.c b/src/patree.c
index 09a80f3..8d50e64 100644
--- a/src/patree.c
+++ b/src/patree.c
@@ -50,6 +50,7 @@ zix_patree_print_rec(ZixPatreeNode* node, FILE* fd)
fprintf(fd, "\t\"%p\" [label=<"
"<TABLE BORDER=\"0\" CELLBORDER=\"1\" CELLSPACING=\"0\">"
"<TR><TD>%s</TD></TR>", (void*)node, edge_label);
+ free(edge_label);
if (node->str) {
fprintf(fd, "<TR><TD>\"%s\"</TD></TR>", node->str);
}