summaryrefslogtreecommitdiffstats
path: root/libdimension/raytrace.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/raytrace.c
parent46bf25a9bed9eec6aaa8c4cad8144c7df629da30 (diff)
downloaddimension-725bd4f0b4cc067fc2770f7f8ffd9c815c745239.tar.xz
Add dmnsn_free() to match dmnsn_malloc().
Diffstat (limited to 'libdimension/raytrace.c')
-rw-r--r--libdimension/raytrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c
index 6cb0ac6..3430678 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -123,10 +123,10 @@ dmnsn_raytrace_scene_thread(void *ptr)
}
}
- free(threads);
- free(payloads);
+ dmnsn_free(threads);
+ dmnsn_free(payloads);
dmnsn_delete_prtree(payload->prtree);
- free(payload);
+ dmnsn_free(payload);
return 0;
}