mem_calloc -> p_new
[apps/madmutt.git] / list.h
diff --git a/list.h b/list.h
index 89916ff..11a88b4 100644 (file)
--- a/list.h
+++ b/list.h
@@ -14,7 +14,7 @@ typedef struct list_t {
       struct list_t *next;
 } LIST;
 
-#define mutt_new_list() mem_calloc (1, sizeof (LIST))
+#define mutt_new_list() p_new(LIST, 1)
 void mutt_free_list (LIST **);
 
 LIST *mutt_copy_list (LIST *);