summaryrefslogtreecommitdiffstats
path: root/src/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h
index 16c7c19d..929c7d91 100644
--- a/src/list.h
+++ b/src/list.h
@@ -21,6 +21,8 @@
#ifndef _PAC_LIST_H
#define _PAC_LIST_H
+#define FREELIST(p) { list_free(p); p = NULL; }
+
/* your average linked list */
typedef struct __pmlist_t {
void* data;