|
Check-in Number:
|
1348 | |
| Date: |
2001-Nov-15 12:03:15 (local)
2001-Nov-15 11:03:15 (UTC) |
| User: | ms |
| Branch: | |
| Comment: |
Close potential memory leak. |
| Tickets: |
|
| Inspections: |
|
| Files: |
|
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;
|
|