OSSP CVS Repository

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

Check-in Number: 1196
Date: 2001-Oct-19 13:55:00 (local)
2001-Oct-19 11:55:00 (UTC)
User:rse
Branch:
Comment: fix memory leak
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ch_smtp.c      1.5 -> 1.6     2 inserted, 0 deleted

ossp-pkg/l2/l2_ch_smtp.c 1.5 -> 1.6

--- l2_ch_smtp.c 2001/10/10 15:58:27     1.5
+++ l2_ch_smtp.c 2001/10/19 11:55:00     1.6
@@ -321,6 +321,8 @@
         free(cfg->cpLocalHost);
     if (cfg->cpLocalUser != NULL)
         free(cfg->cpLocalUser);
+    if (cfg->cpLocalProg != NULL)
+        free(cfg->cpLocalProg);
     free(cfg);
 
     return L2_OK;

CVSTrac 2.0.1