summaryrefslogtreecommitdiffstats
path: root/libdimension/point_light.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/point_light.c')
-rw-r--r--libdimension/point_light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/point_light.c b/libdimension/point_light.c
index 8e20610..f12df62 100644
--- a/libdimension/point_light.c
+++ b/libdimension/point_light.c
@@ -41,7 +41,7 @@ dmnsn_new_point_light(dmnsn_vector x0, dmnsn_color color)
light->x0 = x0;
light->light_fn = &dmnsn_point_light_fn;
- light->free_fn = &free;
+ light->free_fn = &dmnsn_free;
light->ptr = ptr;
return light;