Merge pull request #141 from manisandro/memleak

Squash a memory leak
This commit is contained in:
Alex Clark ☺ 2013-03-17 17:10:13 -07:00
commit ce738b72dc

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)