X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=0e4027aa42dd65a82d5dc2035c18d35c299900a3;hp=fd1cea5da26760dbf507c0c0de64a6130e6d5175;hb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c;hpb=8e037c67a88cb4680c4391134c578e3b55a80f8a diff --git a/muttlib.c b/muttlib.c index fd1cea5..0e4027a 100644 --- a/muttlib.c +++ b/muttlib.c @@ -55,7 +55,7 @@ BODY *mutt_new_body (void) { - BODY *p = (BODY *) mem_calloc (1, sizeof (BODY)); + BODY *p = p_new(BODY, 1); p->disposition = DISPATTACH; p->use_disp = 1;