diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-04-09 17:33:31 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-04-09 17:57:27 +0200 |
| commit | deec79ce61b8661d3ad76f3ecc10a80d1ce19cdd (patch) | |
| tree | 34a8863335a8eee38ec28419812e99a3c27cef64 /src/blind-crop.c | |
| parent | Add blind-skip-pattern (diff) | |
| download | blind-deec79ce61b8661d3ad76f3ecc10a80d1ce19cdd.tar.gz blind-deec79ce61b8661d3ad76f3ecc10a80d1ce19cdd.tar.bz2 blind-deec79ce61b8661d3ad76f3ecc10a80d1ce19cdd.tar.xz | |
Clean up
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-crop.c')
| -rw-r--r-- | src/blind-crop.c | 2 |
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) { |
