Changeset 5b08d750 in mainline
- Timestamp:
- 2013-09-10T12:45:35Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 041b026, 4cdcd2b
- Parents:
- 54dee316
- Location:
- uspace/srv/devman
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r54dee316 r5b08d750 728 728 assert(drv != NULL); 729 729 730 free _not_null(drv->name);731 free _not_null(drv->binary_path);730 free(drv->name); 731 free(drv->binary_path); 732 732 733 733 clean_match_ids(&drv->match_ids); … … 1179 1179 1180 1180 clean_match_ids(&fun->match_ids); 1181 free _not_null(fun->name);1182 free _not_null(fun->pathname);1181 free(fun->name); 1182 free(fun->pathname); 1183 1183 free(fun); 1184 1184 } -
uspace/srv/devman/util.c
r54dee316 r5b08d750 85 85 } 86 86 87 void free_not_null(const void *ptr)88 {89 if (ptr != NULL)90 free(ptr);91 }92 93 87 void replace_char(char *str, char orig, char repl) 94 88 {
Note:
See TracChangeset
for help on using the changeset viewer.