ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.70 -> 1.71
--- lmtp2nntp_main.c 2003/02/11 13:49:26 1.70
+++ lmtp2nntp_main.c 2003/02/11 14:10:33 1.71
@@ -736,8 +736,12 @@
free(ctx->option_pidfile);
if (ctx->pns != NULL)
free(ctx->pns);
- if (ctx->pacl != NULL)
+ if (ctx->pacl != NULL) {
+ for (i = 0; i < ctx->nacl; i++)
+ if (ctx->pacl[i].saa != NULL)
+ sa_addr_destroy(ctx->pacl[i].saa);
free(ctx->pacl);
+ }
if (ctx->option_nodename != NULL)
free(ctx->option_nodename);
if (ctx->prival != NULL)
|
|