OSSP CVS Repository

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

Check-in Number: 3235
Date: 2003-Feb-12 16:24:18 (local)
2003-Feb-12 15:24:18 (UTC)
User:thl
Branch:
Comment: on last run, str_parse() returns empty string, not NULL, as remainder, so free(3) it
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c      1.39 -> 1.40     2 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.39 -> 1.40

--- lmtp2nntp_msg.c      2003/02/12 12:27:01     1.39
+++ lmtp2nntp_msg.c      2003/02/12 15:24:18     1.40
@@ -41,7 +41,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
-#if defined(HAVE_DMALLOC_H) && defined(DMALLOC)
+#if defined(HAVE_DMALLOC_H) && defined(WITH_DMALLOC)
 #include "dmalloc.h"
 #endif
 
@@ -184,6 +184,7 @@
         free(cpName);
         free(cpValue);
     }
+    free(cpHeaders);
 
     logbook(msg->l2, L2_LEVEL_DEBUG, "check for headers we care about and do whatever neccessary");
     msg->azNewsgroups = NULL;

CVSTrac 2.0.1