OSSP CVS Repository

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

Check-in Number: 3190
Date: 2003-Feb-10 15:25:39 (local)
2003-Feb-10 14:25:39 (UTC)
User:thl
Branch:
Comment: plug memory two leaks not destroying lib_val handle
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.67 -> 1.68     4 inserted, 0 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.67 -> 1.68

--- lmtp2nntp_main.c     2003/02/10 13:51:34     1.67
+++ lmtp2nntp_main.c     2003/02/10 14:25:39     1.68
@@ -720,6 +720,10 @@
         free(ctx->pacl);
     if (ctx->option_nodename != NULL)
         free(ctx->option_nodename);
+    if (ctx->prival != NULL)
+        val_destroy(ctx->prival);
+    if (ctx->val != NULL)
+        val_destroy(ctx->val);
     if (ctx->progname != NULL)
         free(ctx->progname);
     if (ctx->azGroupargs != NULL)

CVSTrac 2.0.1