about summary refs log tree commit diff
path: root/lib/pgm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pgm.h')
-rw-r--r--lib/pgm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pgm.h b/lib/pgm.h
index a3fd8565..fd960b5b 100644
--- a/lib/pgm.h
+++ b/lib/pgm.h
@@ -69,7 +69,7 @@ pgm_init(int *   const argcP,
 gray *
 pgm_allocrow(unsigned int const cols);
 
-#define pgm_freerow(grayrow) free(grayrow)
+#define pgm_freerow(grayrow) pm_freerow(grayrow)
 
 #define pgm_allocarray( cols, rows ) \
   ((gray**) pm_allocarray( cols, rows, sizeof(gray) ))