mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Squash a memory leak
This commit is contained in:
parent
f5d427eb53
commit
b57c2ae0e9
|
@ -81,6 +81,7 @@ ImagingRankFilter(Imaging im, int size, int rank)
|
|||
size * sizeof(type));\
|
||||
IMAGING_PIXEL_##type(imOut, x, y) = Rank##type(buf, size2, rank);\
|
||||
}\
|
||||
free(buf); \
|
||||
} while (0)
|
||||
|
||||
if (im->image8)
|
||||
|
|
Loading…
Reference in New Issue
Block a user