Skip to content

Commit 4fb5baa

Browse files
Update Modules/_ctypes/callproc.c
Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
1 parent 96b4dd1 commit 4fb5baa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ctypes/callproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ create_pointer_type(PyObject *module, PyObject *cls)
20332033
}
20342034

20352035
if (info) {
2036-
info->pointer_type = Py_XNewRef(result);
2036+
info->pointer_type = Py_NewRef(result);
20372037
}
20382038

20392039
return result;

0 commit comments

Comments
 (0)