mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
added comment closer to malloc
This commit is contained in:
parent
ce57e6adfb
commit
8aedf8b1d8
|
@ -76,6 +76,7 @@ ImagingRankFilter(Imaging im, int size, int rank)
|
||||||
if (!imOut)
|
if (!imOut)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
/* malloc check ok, checked above */
|
||||||
#define RANK_BODY(type) do {\
|
#define RANK_BODY(type) do {\
|
||||||
type* buf = malloc(size2 * sizeof(type));\
|
type* buf = malloc(size2 * sizeof(type));\
|
||||||
if (!buf)\
|
if (!buf)\
|
||||||
|
|
Loading…
Reference in New Issue
Block a user