diff options
author | Sergey Vorfolomeev <sergey.vorfolomeev@vmssoftware.com> | 2021-04-09 08:29:05 +0500 |
---|---|---|
committer | Sergey Vorfolomeev <sergey.vorfolomeev@vmssoftware.com> | 2021-04-09 08:29:05 +0500 |
commit | c48fc339035511967023aa9783ce8afc1c00a492 (patch) | |
tree | a59352e46c3497219973c15158cd1231876099a9 /c/ffi_obj.c | |
parent | 836a60368633def79b7fe439be845f5272f4bc9e (diff) | |
parent | f17762f93b1f882554b6fe12c8271f907aebf6ad (diff) | |
download | cffi-openvms.tar.gz |
merge default to 'openvms'openvms
changed:
.hgtags
c/_cffi_backend.c
c/ffi_obj.c
c/test_c.py
cffi/__init__.py
cffi/_embedding.h
cffi/recompiler.py
cffi/verifier.py
doc/source/conf.py
doc/source/installation.rst
doc/source/whatsnew.rst
setup.py
setup_base.py
testing/cffi0/test_ffi_backend.py
testing/cffi0/test_version.py
testing/cffi1/test_re_python.py
Diffstat (limited to 'c/ffi_obj.c')
-rw-r--r-- | c/ffi_obj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/ffi_obj.c b/c/ffi_obj.c index 05c3a6d..f154146 100644 --- a/c/ffi_obj.c +++ b/c/ffi_obj.c @@ -1070,10 +1070,10 @@ static PyObject *ffi_init_once(FFIObject *self, PyObject *args, PyObject *kwds) if (res != NULL) { tup = PyTuple_Pack(2, Py_True, res); if (tup == NULL || PyDict_SetItem(cache, tag, tup) < 0) { - Py_XDECREF(tup); Py_DECREF(res); res = NULL; } + Py_XDECREF(tup); } } |