aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index e819e7e8..89d8e608 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -603,6 +603,7 @@ int interface_approve(struct hostdata *, flag domonitor);
#endif
XMALLOCTYPE *xmalloc(size_t);
XMALLOCTYPE *xrealloc(/*@null@*/ XMALLOCTYPE *, size_t);
+#define xfree(p) { if (p) { free(p); } (p) = 0; }
char *xstrdup(const char *);
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>