add explicit return of pointer to allocated memory
This commit is contained in:
parent
cbd115f22c
commit
e7cc358a82
1
yasnd.c
1
yasnd.c
@ -38,6 +38,7 @@ void* allocate_memory(int bytes)
|
||||
log_event("Error: malloc failed");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void init()
|
||||
|
Loading…
x
Reference in New Issue
Block a user