emergency fix
This commit is contained in:
parent
5a67fcb3b5
commit
3f767efaa6
1 changed files with 1 additions and 1 deletions
2
rush.c
2
rush.c
|
@ -15,7 +15,7 @@
|
|||
#include "commands.h"
|
||||
|
||||
void *memalloc(size_t size) {
|
||||
void *ptr = memalloc(size);
|
||||
void *ptr = malloc(size);
|
||||
if (!ptr) {
|
||||
fputs("rush: Error allocating memory\n", stderr);
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in a new issue