aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index 4e576e710e..9720145fc1 100644
--- a/io.c
+++ b/io.c
@@ -6479,7 +6479,8 @@ static void
argf_free(void *ptr)
{
struct argf *p = ptr;
- free(p->inplace);
+ xfree(p->inplace);
+ xfree(p);
}
static inline void