aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-crop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blind-crop.c')
-rw-r--r--src/blind-crop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-crop.c b/src/blind-crop.c
index c08864e..fa76762 100644
--- a/src/blind-crop.c
+++ b/src/blind-crop.c
@@ -63,7 +63,7 @@ main(int argc, char *argv[])
buf = emalloc(n);
orown = width * stream.pixel_size;
m = (tile || keepsize || keepsize_inv) ? n : height * orown;
- image = (keepsize || keepsize_inv) ? buf : malloc(m);
+ image = (keepsize || keepsize_inv) ? buf : emalloc(m);
left *= stream.pixel_size;
if (!tile) {