Changeset 77592a76 in mainline
- Timestamp:
- 2020-05-04T21:12:16Z (5 years ago)
- Parents:
- 14a014f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/pci.c
r14a014f r77592a76 163 163 164 164 alloc_size = act_size; 165 ids = realloc(ids, alloc_size); 166 if (ids == NULL) 165 service_id_t *tmp = realloc(ids, alloc_size); 166 if (tmp == NULL) { 167 free(ids); 167 168 return ENOMEM; 169 } 170 ids = tmp; 168 171 } 169 172
Note:
See TracChangeset
for help on using the changeset viewer.