summaryrefslogtreecommitdiffstats
path: root/libdimension/png.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-18 00:35:48 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-18 00:35:48 -0400
commitedd9417a808d72be2eab581a920eea7febe6430c (patch)
treedfdafbcb975a50d202ee439e8885e8a824298689 /libdimension/png.c
parent8e4819c2f3c0d36865bf20a55f54c0a6c7fd4e74 (diff)
downloaddimension-edd9417a808d72be2eab581a920eea7febe6430c.tar.xz
Missed some free() -> dmnsn_free() conversions.
Diffstat (limited to 'libdimension/png.c')
-rw-r--r--libdimension/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/png.c b/libdimension/png.c
index d8b47fe..ec2b980 100644
--- a/libdimension/png.c
+++ b/libdimension/png.c
@@ -44,7 +44,7 @@ dmnsn_png_optimize_canvas(dmnsn_canvas *canvas)
dmnsn_canvas_optimizer optimizer;
optimizer.optimizer_fn = &dmnsn_png_optimizer_fn;
- optimizer.free_fn = &free;
+ optimizer.free_fn = &dmnsn_free;
optimizer.ptr = dmnsn_malloc(4*canvas->x*canvas->y*sizeof(uint16_t));