]> diplodocus.org Git - nmh/blobdiff - sbr/folder_read.c
Assume POSIX ctype.h; don't vet tolower()'s parameter.
[nmh] / sbr / folder_read.c
index 73ffe43172eddf6ceb4db6fa93c271816e620ac9..e4bac9045e38e01015ad2a045f4c425a12045a53 100644 (file)
@@ -39,8 +39,7 @@ folder_read (char *name, int lockflag)
     }
 
     /* Allocate the main structure for folder information */
-    mp = (struct msgs *) mh_xmalloc ((size_t) sizeof(*mp));
-
+    NEW(mp);
     clear_folder_flags (mp);
     mp->foldpath = name;
     mp->lowmsg = 0;