aboutsummaryrefslogtreecommitdiff
path: root/printing.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-10 00:24:24 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-10 00:24:24 -0800
commitf4a7b80b4ff63d6610142b417cbadd6526339ae4 (patch)
tree1da87124f2fa4b935aa17eb25da100475ae49ff3 /printing.c
parent9d1f51c483578c66d401a59f59ad18add0e1a52f (diff)
Updated more things to use xfree(&foo) instead of free(foo)
Diffstat (limited to 'printing.c')
-rw-r--r--printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing.c b/printing.c
index 68faf22..e8cd178 100644
--- a/printing.c
+++ b/printing.c
@@ -132,7 +132,7 @@ static void _visualize_matches(match_node_t *firstmatch, int depth, const char *
for (match_node_t *c = children, *next = NULL; c; c = next) {
next = c->next;
- free(c);
+ xfree(&c);
}
}