Changeset a43febeb in mainline for uspace/lib/c/generic/vbd.c
- Timestamp:
- 2020-04-28T14:58:05Z (5 years ago)
- Parents:
- 2a09dcb
- git-author:
- Manuele Conti <manuele.conti@…> (2020-04-28 12:18:24)
- git-committer:
- Manuele Conti <manuele.conti@…> (2020-04-28 14:58:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vbd.c
r2a09dcb ra43febeb 231 231 232 232 alloc_size = act_size; 233 ids = realloc(ids, alloc_size); 234 if (ids == NULL) 233 service_id_t *tmp = realloc(ids, alloc_size); 234 if (tmp == NULL) { 235 free(ids); 235 236 return ENOMEM; 237 } 238 ids = tmp; 236 239 } 237 240
Note:
See TracChangeset
for help on using the changeset viewer.