summaryrefslogtreecommitdiffstats
path: root/libdimension/light.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/light.c')
-rw-r--r--libdimension/light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/light.c b/libdimension/light.c
index cfaa5e1..e1a060c 100644
--- a/libdimension/light.c
+++ b/libdimension/light.c
@@ -43,7 +43,7 @@ dmnsn_delete_light(dmnsn_light *light)
{
if (light) {
if (light->free_fn) {
- (*light->free_fn)(light->ptr);
+ light->free_fn(light->ptr);
}
dmnsn_free(light);
}