summaryrefslogtreecommitdiffstats
path: root/c2.c
diff options
context:
space:
mode:
Diffstat (limited to 'c2.c')
-rw-r--r--c2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c2.c b/c2.c
index 4e2b0dfb3..13c194050 100644
--- a/c2.c
+++ b/c2.c
@@ -1183,7 +1183,7 @@ c2_match_once_leaf(session_t *ps, win *w, const c2_l_t *pleaf,
// Free the string after usage, if necessary
if (tgt_free) {
if (C2_L_TATOM == pleaf->type)
- XFree(tgt_free);
+ cxfree(tgt_free);
else
free(tgt_free);
}