- Timestamp:
- Mar 2, 2016, 2:28:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/src/libohana/src/ohana_allocate.c
r39415 r39430 60 60 new = (OhanaMemblock *) malloc (sizeof(OhanaMemblock) + size + 2*sizeof(void *)); 61 61 if (new == NULL) ohana_memabort ("failed to allocate memory (%s, %d, %s)\n", file, line, func); 62 if (errno == ENOMEM) abort();62 // if (errno == ENOMEM) abort(); I should not check the value of errno if new is not NULL 63 63 64 64 // pointer to the start of the user memory
Note:
See TracChangeset
for help on using the changeset viewer.
