symzip GC fix

This commit is contained in:
roberto@mrspurr
2011-09-10 10:54:27 +02:00
parent 5130a7bb33
commit 5f59365d88
+2 -1
View File
@@ -363,7 +363,8 @@ static PyMethodDef symzipimporter_methods[] = {
};
static void uwsgi_symimporter_free(struct _symimporter *self) {
PyObject_Del(self);
PyObject_GC_UnTrack(self);
Py_TYPE(self)->tp_free((PyObject *)self);
}