aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index b3feb86..616255f 100644
--- a/utils.c
+++ b/utils.c
@@ -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;