OSSP CVS Repository

ossp - Check-in [3226]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3226
Date: 2003-Feb-11 15:18:47 (local)
2003-Feb-11 14:18:47 (UTC)
User:thl
Branch:
Comment: release fakestatus/dsn pair
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.71 -> 1.72     3 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.71 -> 1.72

--- lmtp2nntp_main.c     2003/02/11 14:10:33     1.71
+++ lmtp2nntp_main.c     2003/02/11 14:18:47     1.72
@@ -380,7 +380,7 @@
     ctx->option_groupmode = GROUPMODE_UNDEF;
     ctx->option_operationmode = OPERATIONMODE_UNDEF;
     ctx->option_operationmodefakestatus = NULL;
-    ctx->option_operationmodefakedsn    = NULL;
+    ctx->option_operationmodefakedsn    = NULL; /* is joined to fakestatus in a single malloc(3) */
     ctx->option_maxmessagesize = 0;
     ctx->option_firstheaderrule = NULL;
     ctx->option_timeout_lmtp_accept  = 0;
@@ -756,6 +756,8 @@
         var_destroy(ctx->config_varregex);
     if (ctx->config_varctx != NULL)
         var_destroy(ctx->config_varctx);
+    if (ctx->option_operationmodefakestatus != NULL)
+        free(ctx->option_operationmodefakestatus); /* includes dsn */
     if (ctx != NULL)
         free(ctx);
     str_parse(NULL, NULL);

CVSTrac 2.0.1