- Timestamp:
- Nov 6, 2014, 6:50:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/zoo-project/zoo-kernel/service_zcfg.c
r531 r533 57 57 } 58 58 } 59 } 60 free (d); 59 if (level > 0) 60 free(rootDir); 61 } 61 62 closedir (dir); 62 63 return 1; … … 96 97 (char *) malloc ((strlen (identifier_tmp) + 1) * sizeof (char)); 97 98 strncpy (*identifier, identifier_tmp, strlen (identifier_tmp) + 1); 98 free (identifier_tmp);99 99 free (s_tmp); 100 100 } 101 free (identifier_tmp); 101 102 return 1; 102 103 } … … 117 118 serviceCfgList = g_list_append (serviceCfgList, s1); 118 119 } 120 freeMap(&m); 119 121 } 120 122
Note: See TracChangeset
for help on using the changeset viewer.