summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/error.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libdimension/error.c b/libdimension/error.c
index e03ac5c..31d1606 100644
--- a/libdimension/error.c
+++ b/libdimension/error.c
@@ -154,10 +154,6 @@ dmnsn_default_fatal_error_fn()
exit(EXIT_FAILURE);
} else {
thread_exiting = true;
-
- int *ret = malloc(sizeof(int)); /* Don't use dmnsn_malloc */
- if (ret)
- *ret = 1;
- pthread_exit(ret);
+ pthread_exit(NULL);
}
}