X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsortm.c;h=5d15ed68d40099dec990e1cf9dc9b97994646aa4;hp=4ca0c724b4405d2de7883f8a26b63a5a4c6a34b7;hb=7a13a5266a14f1c6a13752db9292cd40c1211fba;hpb=6e27d395a60fe59a274edc47989b9b8127359f36 diff --git a/uip/sortm.c b/uip/sortm.c index 4ca0c72..5d15ed6 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -297,8 +297,6 @@ read_hdrs(struct msgs *mp, char *datesw) smsgs = (struct smsg *) mh_xcalloc((size_t) (mp->hghsel - mp->lowsel + 2), sizeof(*smsgs)); - if (smsgs == NULL) - adios(EX_OSERR, NULL, "unable to allocate sort storage"); s = smsgs; for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {