MEMORY_MAX_BLOCKS should be 0 by default

This commit is contained in:
Alexander 2017-09-15 19:00:53 +03:00
parent fe283b10a5
commit 883fb8f9e9

View File

@ -265,7 +265,7 @@ ImagingDelete(Imaging im)
/* Allocate image as an array of line buffers. */
#define MEMORY_BLOCK_SIZE (1024*1024)
#define MEMORY_MAX_BLOCKS 128
#define MEMORY_MAX_BLOCKS 0
void **_blocks = NULL;
int _blocks_free = 0;