mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Fixed typo
This commit is contained in:
parent
a986fed5b4
commit
982f4509eb
|
@ -405,7 +405,7 @@ ImagingAllocateArray(Imaging im, int dirty, int block_size)
|
|||
// printf("NEW size: %dx%d, ls: %d, lpb: %d, blocks: %d\n",
|
||||
// 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);
|
||||
if ( ! im->blocks) {
|
||||
return (Imaging) ImagingError_MemoryError();
|
||||
|
|
Loading…
Reference in New Issue
Block a user