OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_main.c versions 1.71 and 1.72
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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