chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / python-systemd / _daemon.c
index 8f93d91b48292e45a8af2e6b2a5587b39605db9a..ce2064935debbc15f9886f78272bc9c19ec1ccc5 100644 (file)
@@ -244,7 +244,7 @@ static PyObject* is_socket_unix(PyObject *self, PyObject *args) {
         Py_ssize_t length = 0;
 
 #if PY_MAJOR_VERSION >=3 && PY_MINOR_VERSION >= 1
-        PyObject _cleanup_Py_DECREF_ *_path = NULL;
+        _cleanup_Py_DECREF_ PyObject *_path = NULL;
         if (!PyArg_ParseTuple(args, "i|iiO&:_is_socket_unix",
                               &fd, &type, &listening, Unicode_FSConverter, &_path))
                 return NULL;