summaryrefslogtreecommitdiffstats
path: root/libdimension/threads.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-09-26 00:46:34 -0400
committerTavian Barnes <tavianator@gmail.com>2010-09-26 00:46:34 -0400
commit725bd4f0b4cc067fc2770f7f8ffd9c815c745239 (patch)
tree2bf8c049473d27057ce8cbac2a08eb2be05443b6 /libdimension/threads.c
parent46bf25a9bed9eec6aaa8c4cad8144c7df629da30 (diff)
downloaddimension-725bd4f0b4cc067fc2770f7f8ffd9c815c745239.tar.xz
Add dmnsn_free() to match dmnsn_malloc().
Diffstat (limited to 'libdimension/threads.c')
-rw-r--r--libdimension/threads.c2
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;
}