Check-in Number:
|
3121 | |
Date: |
2003-Jan-30 16:26:24 (local)
2003-Jan-30 15:26:24 (UTC) |
User: | thl |
Branch: | |
Comment: |
cleanup sequence |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.58 -> 1.59
--- lmtp2nntp_main.c 2003/01/30 15:20:57 1.58
+++ lmtp2nntp_main.c 2003/01/30 15:26:24 1.59
@@ -702,7 +702,7 @@
/* graceful shutdown */
CUS:
logbook(ctx->l2, L2_LEVEL_NOTICE, "graceful shutdown shortly before exit - no more logging");
- /* l2_channel_destroy(ctx->l2); */
+ l2_channel_destroy(ctx->l2);
l2_env_destroy(ctx->l2_env);
if (ctx->saServerbind)
sa_destroy(ctx->saServerbind);
@@ -710,7 +710,6 @@
sa_addr_destroy(ctx->saaServerbind);
if (ctx->option_restrictheader != NULL)
free(ctx->option_restrictheader);
- /* FIXME if (ctx->azHeaderValuePairs != NULL) free(ctx->azHeaderValuePairs); what about headerrules */
if (ctx->option_pidfile != NULL)
free(ctx->option_pidfile);
if (ctx->option_nodename != NULL)
@@ -728,8 +727,6 @@
str_parse(NULL, NULL);
if (o != NULL)
(void)option_destroy(o);
- /* FIXME check if anything initialized in the lmtp2nntp_t structure is destroyed here (val, prival ...) */
-
return rc;
}
|
|