OSSP CVS Repository

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

Check-in Number: 1943
Date: 2002-Mar-05 15:06:19 (local)
2002-Mar-05 14:06:19 (UTC)
User:ms
Branch:
Comment: Fix memory leak.

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ch_filter.c      1.16 -> 1.17     1 inserted, 0 deleted

ossp-pkg/l2/l2_ch_filter.c 1.16 -> 1.17

--- l2_ch_filter.c       2002/01/02 17:07:38     1.16
+++ l2_ch_filter.c       2002/03/05 14:06:19     1.17
@@ -138,6 +138,7 @@
         free(cfg->pcreRegex);
     if (cfg->pcreExtra != NULL)
         free(cfg->pcreExtra);
+    free(cfg);
 
     return L2_OK_PASS;
 }

CVSTrac 2.0.1