mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +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)
|
||||
return NULL;
|
||||
|
||||
/* malloc check ok, checked above */
|
||||
#define RANK_BODY(type) do {\
|
||||
type* buf = malloc(size2 * sizeof(type));\
|
||||
if (!buf)\
|
||||
|
|
Loading…
Reference in New Issue
Block a user