From fc80eeb581afffe7128bb3dae6f06bac91b9a2b8 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 21 Jan 2013 14:53:01 +0100 Subject: [PATCH] fixed bug in python uwsgi.workers() --- plugins/python/uwsgi_pymodule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index 2f20c3d9..e77be5e4 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -2763,7 +2763,6 @@ PyObject *py_uwsgi_workers(PyObject * self, PyObject * args) { PyDict_SetItemString(worker_dict, "apps", apps_tuple); - Py_DECREF(apps_tuple); }