From deec79ce61b8661d3ad76f3ecc10a80d1ce19cdd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 9 Apr 2017 17:33:31 +0200 Subject: Clean up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-crop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blind-crop.c') 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) { -- cgit v1.2.3-70-g09d2