Fixed typo

This commit is contained in:
Andrew Murray 2019-06-10 11:55:41 +10:00
parent a986fed5b4
commit 982f4509eb

View File

@ -405,7 +405,7 @@ ImagingAllocateArray(Imaging im, int dirty, int block_size)
// printf("NEW size: %dx%d, ls: %d, lpb: %d, blocks: %d\n", // printf("NEW size: %dx%d, ls: %d, lpb: %d, blocks: %d\n",
// im->xsize, im->ysize, aligned_linesize, lines_per_block, blocks_count); // im->xsize, im->ysize, aligned_linesize, lines_per_block, blocks_count);
/* One extra ponter is always NULL */ /* One extra pointer is always NULL */
im->blocks = calloc(sizeof(*im->blocks), blocks_count + 1); im->blocks = calloc(sizeof(*im->blocks), blocks_count + 1);
if ( ! im->blocks) { if ( ! im->blocks) {
return (Imaging) ImagingError_MemoryError(); return (Imaging) ImagingError_MemoryError();