summaryrefslogtreecommitdiff
path: root/src/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmalloc.c')
-rw-r--r--src/xmalloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmalloc.c b/src/xmalloc.c
index f831e13..bd2136f 100644
--- a/src/xmalloc.c
+++ b/src/xmalloc.c
@@ -57,4 +57,7 @@ char *xstrdup (const char *s) {
return (char*) ptr;
}
+void xfree(void *ptr) {
+ return free(ptr);
+}
// vi: sts=2 sw=2 ts=2