diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-18 00:35:48 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-18 00:35:48 -0400 |
commit | edd9417a808d72be2eab581a920eea7febe6430c (patch) | |
tree | dfdafbcb975a50d202ee439e8885e8a824298689 /libdimension/png.c | |
parent | 8e4819c2f3c0d36865bf20a55f54c0a6c7fd4e74 (diff) | |
download | dimension-edd9417a808d72be2eab581a920eea7febe6430c.tar.xz |
Missed some free() -> dmnsn_free() conversions.
Diffstat (limited to 'libdimension/png.c')
-rw-r--r-- | libdimension/png.c | 2 |
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)); |