diff options
author | Harald Hoyer <harald@redhat.com> | 2013-04-18 09:11:22 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-04-18 09:11:22 +0200 |
commit | 7fd1b19bc9e9f5574f2877936b8ac267c7706947 (patch) | |
tree | cac68de0832e4a61944e88390b649341519c43b2 /src/python-systemd/_daemon.c | |
parent | d70964d0f61f1add3a71c83beb925fc1fa2fab6b (diff) |
move _cleanup_ attribute in front of the type
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
Diffstat (limited to 'src/python-systemd/_daemon.c')
-rw-r--r-- | src/python-systemd/_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/_daemon.c b/src/python-systemd/_daemon.c index 8f93d91b48..ce2064935d 100644 --- a/src/python-systemd/_daemon.c +++ b/src/python-systemd/_daemon.c @@ -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; |