summaryrefslogtreecommitdiffstats
path: root/libdimension/canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/canvas.c')
-rw-r--r--libdimension/canvas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/canvas.c b/libdimension/canvas.c
index 7da63f8..da4f1aa 100644
--- a/libdimension/canvas.c
+++ b/libdimension/canvas.c
@@ -19,7 +19,7 @@
*************************************************************************/
#include "dimension.h"
-#include <stdlib.h> /* For free() */
+#include <stdlib.h> /* For dmnsn_free() */
/* Allocate a new canvas, of width x and height y */
dmnsn_canvas *
@@ -55,8 +55,8 @@ dmnsn_delete_canvas(dmnsn_canvas *canvas)
dmnsn_delete_array(canvas->optimizers);
/* Free the pixels and canvas */
- free(canvas->pixels);
- free(canvas);
+ dmnsn_free(canvas->pixels);
+ dmnsn_free(canvas);
}
}