unbit/uwsgi — pull request #509 by xiaost-bytedance (2014-01-28 21:06:44+00:00)
Title: ［spooler］memory leak bugfix & simplified code

**COMMIT ONE** (fixed python spooler memory leak)
```cpp
- 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