Squash a memory leak

This commit is contained in:
Sandro Mani 2013-03-18 00:54:02 +01:00
parent f5d427eb53
commit b57c2ae0e9

View File

@ -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)