]> git.marmaro.de Git - mmh/blobdiff - uip/burst.c
No error-checking for error-checking alloc functions
[mmh] / uip / burst.c
index 28e0e851b5f193155f9eb56d7292f7a683622e7a..04e5450a403989f72ffbb27e5704b9f606ee35d4 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include <h/mh.h>
+#include <h/utils.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <locale.h>
@@ -118,8 +119,6 @@ main(int argc, char **argv)
 
        smsgs = (struct smsg *)
                mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
-       if (smsgs == NULL)
-               adios(EX_OSERR, NULL, "unable to allocate burst storage");
 
        hi = mp->hghmsg + 1;