diff options
Diffstat (limited to 'Modules/_ctypes/_ctypes.c')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index f47dbdf..be0f33a 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -454,7 +454,6 @@ CDataType_from_buffer(PyObject *type, PyObject *args) Py_INCREF(obj); if (-1 == KeepRef((CDataObject *)result, -1, obj)) { - Py_DECREF(result); return NULL; } return result; |