diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index 80a8cec6..6def3606 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -1037,7 +1037,7 @@ PyObject *py_uwsgi_unlock(PyObject * self, PyObject * args) { } - uwsgi_unlock(uwsgi.user_lock); + uwsgi_unlock(uwsgi.user_lock[lock_num]); Py_INCREF(Py_None); return Py_None;