add explicit return of pointer to allocated memory

This commit is contained in:
Sergey Popov 2011-12-12 13:51:22 +04:00
parent cbd115f22c
commit e7cc358a82

View File

@ -38,6 +38,7 @@ void* allocate_memory(int bytes)
log_event("Error: malloc failed");
exit(EXIT_FAILURE);
}
return result;
}
void init()