summaryrefslogtreecommitdiffstats
path: root/libdimension/phong.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/phong.c')
-rw-r--r--libdimension/phong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/phong.c b/libdimension/phong.c
index 10d8928..f0fb3bb 100644
--- a/libdimension/phong.c
+++ b/libdimension/phong.c
@@ -60,7 +60,7 @@ dmnsn_new_phong_finish(double specular, double exp)
finish->ptr = params;
finish->specular_fn = &dmnsn_phong_specular_fn;
- finish->free_fn = &free;
+ finish->free_fn = &dmnsn_free;
return finish;
}