mem_calloc -> p_new
[apps/madmutt.git] / mutt.h
diff --git a/mutt.h b/mutt.h
index 6d834c5..c3a3801 100644 (file)
--- a/mutt.h
+++ b/mutt.h
@@ -541,7 +541,7 @@ typedef struct spam_list_t {
 } SPAM_LIST;
 
 
-#define mutt_new_spam_list() mem_calloc (1, sizeof (SPAM_LIST))
+#define mutt_new_spam_list() p_new(SPAM_LIST, 1)
 void mutt_free_spam_list (SPAM_LIST **);
 
 int mutt_matches_ignore (const char *, LIST *);