diff options
Diffstat (limited to 'libdimension/threads.c')
-rw-r--r-- | libdimension/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/threads.c b/libdimension/threads.c index 3078465..22a5b9a 100644 --- a/libdimension/threads.c +++ b/libdimension/threads.c @@ -42,7 +42,7 @@ dmnsn_thread(void *arg) ret = dmnsn_malloc(sizeof(int)); *ret = (*payload->thread_fn)(payload->arg); pthread_cleanup_pop(1); - free(payload); + dmnsn_free(payload); return ret; } |