mem_calloc -> p_new
[apps/madmutt.git] / compress.c
index 622bbc5..47f50c5 100644 (file)
@@ -478,7 +478,7 @@ int mutt_slow_close_compressed (CONTEXT * ctx)
 }
 
 mx_t* compress_reg_mx (void) {
-  mx_t* fmt = mem_calloc (1, sizeof (mx_t));
+  mx_t* fmt = p_new(mx_t, 1);
   fmt->type = M_COMPRESSED;
   fmt->local = 1;
   fmt->mx_is_magic = mbox_is_magic;