diff --git a/yasnd.c b/yasnd.c index ea07539..7de86a4 100644 --- a/yasnd.c +++ b/yasnd.c @@ -38,6 +38,7 @@ void* allocate_memory(int bytes) log_event("Error: malloc failed"); exit(EXIT_FAILURE); } + return result; } void init()