check: https://github.com/unbit/uwsgi/pull/509
*COMMIT ONE* (fixed python spooler memory leak) - PyDict_SetItemString(spool_dict, "body", PyString_FromStringAndSize(body, body_len)); + PyObject *value = PyString_FromStringAndSize(body, body_len); + PyDict_SetItemString(spool_dict, "body", value); + Py_DECREF(value); *COMMIT TWO* (simplified the python spooler code) clean up everything at the end of the function -- xiaoguoqiao
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
