mem_calloc -> p_new
[apps/madmutt.git] / score.c
diff --git a/score.c b/score.c
index 071b0fa..7fe90f6 100644 (file)
--- a/score.c
+++ b/score.c
@@ -88,7 +88,7 @@ int mutt_parse_score (BUFFER * buf, BUFFER * s, unsigned long data,
       p_delete(&pattern);
       return (-1);
     }
-    ptr = mem_calloc (1, sizeof (SCORE));
+    ptr = p_new(SCORE, 1);
     if (last)
       last->next = ptr;
     else