OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ch_file.c versions 1.19 and 1.20
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ch_file.c 1.19 -> 1.20

--- l2_ch_file.c 2001/11/07 13:05:20     1.19
+++ l2_ch_file.c 2001/11/15 11:03:15     1.20
@@ -132,6 +132,8 @@
     l2_ch_file_t *cfg = (l2_ch_file_t *)ctx->vp;
 
     /* destroy channel configuration */
+    if (cfg->path != NULL)
+        free(cfg->path);
     free(cfg);
 
     return L2_OK;

CVSTrac 2.0.1