File Imaging-1.1.5-realloc.patch of Package python-2.4-imaging
--- path.c
+++ path.c
@@ -281,7 +281,7 @@
self->count = j;
/* shrink coordinate array */
- realloc(self->xy, 2 * self->count * sizeof(double));
+ self->xy = realloc(self->xy, 2 * self->count * sizeof(double));
return Py_BuildValue("i", i); /* number of removed vertices */
}