ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.91 -> 1.92
--- lmtp2nntp_config.c 2003/02/06 10:51:40 1.91
+++ lmtp2nntp_config.c 2003/02/10 13:51:34 1.92
@@ -286,7 +286,7 @@
}
/* if only blocking ACLs exist, reserve space for two additional pass-through wildcards */
- if ((ctx->pacl = (struct acl *)malloc((ov->ndata + somepass ? 0 : 2 ) * sizeof(struct acl))) == NULL) throw(0,0,0);
+ ctx->pacl = (struct acl *)mallocex((ov->ndata + somepass ? 0 : 2 ) * sizeof(struct acl));
if (ov->ndata >= 1) {
for (i = 0; i < ov->ndata; i++) {
|
|