mem_calloc -> p_new
[apps/madmutt.git] / rfc1524.c
index c0397ad..026050f 100644 (file)
--- a/rfc1524.c
+++ b/rfc1524.c
@@ -321,7 +321,7 @@ static int rfc1524_mailcap_parse (BODY * a,
 
 rfc1524_entry *rfc1524_new_entry (void)
 {
-  return (rfc1524_entry *) mem_calloc (1, sizeof (rfc1524_entry));
+  return p_new(rfc1524_entry, 1);
 }
 
 void rfc1524_free_entry (rfc1524_entry ** entry)