diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-13 19:01:49 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-13 19:01:49 -0800 |
| commit | 43aeadaab8c29351e506c03829c3dc74a9f6b86a (patch) | |
| tree | aa8ec115dee11f7a8adcd9f9e1a649bb5e985fb3 /utils.c | |
| parent | 3443d817150e641221749bf129cc6716e6baaf32 (diff) | |
Replaced _exit()s with exits()
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -194,7 +194,7 @@ void *memcheck(void *p) { if (p == NULL) { fprintf(stderr, "memory allocation failure\n"); - _exit(1); + exit(1); } return p; } @@ -218,7 +218,7 @@ void xfree(void *p) { if (*(void**)p == NULL) { fprintf(stderr, "Attempt to free(NULL)\n"); - _exit(1); + exit(1); } free(*(void**)p); p = NULL; |
