another refcnt fix

This commit is contained in:
roberto@debian32
2011-08-19 07:06:29 +02:00
parent fae446e495
commit 0116c62980
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -456,6 +456,8 @@ void init_uwsgi_embedded_module() {
exit(1);
}
Py_INCREF((PyObject *) &uwsgi_InputType);
up.embedded_dict = PyModule_GetDict(new_uwsgi_module);
if (!up.embedded_dict) {
uwsgi_log("could not get uwsgi module __dict__\n");