X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fburst.c;h=a68420a129b7f1d6b911ffea870ae2d9bc3ca006;hp=04e5450a403989f72ffbb27e5704b9f606ee35d4;hb=4112940aea5591648b03a81907408752c08b33aa;hpb=6e7d34c614291079de750ceda1d4f5ec537beb81 diff --git a/uip/burst.c b/uip/burst.c index 04e5450..a68420a 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -88,7 +88,7 @@ main(int argc, char **argv) if (folder) adios(EX_USAGE, NULL, "only one folder at a time!"); else - folder = getcpy(expandfol(cp)); + folder = mh_xstrdup(expandfol(cp)); } else { msgs[msgp++] = cp; } @@ -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); /*