X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=eb2fb7a784eb5f5174f2029a3a505e86f2aded77;hb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;hp=04e5450a403989f72ffbb27e5704b9f606ee35d4;hpb=7a13a5266a14f1c6a13752db9292cd40c1211fba;p=mmh diff --git a/uip/burst.c b/uip/burst.c index 04e5450..eb2fb7a 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -117,8 +117,7 @@ main(int argc, char **argv) exit(EX_SOFTWARE); seq_setprev(mp); /* set the previous-sequence */ - smsgs = (struct smsg *) - mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); + smsgs = mh_xcalloc(MAXFOLDER + 2, sizeof(*smsgs)); hi = mp->hghmsg + 1; @@ -137,7 +136,7 @@ main(int argc, char **argv) } } - free(smsgs); + mh_free0(&smsgs); context_replace(curfolder, folder); /*