mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
proto was dereffed above and is known to be good. No need for X.
Reported by Klocwork, #39.
This commit is contained in:
parent
ce5b3c3188
commit
109f91414f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ CField_FromDesc(PyObject *desc, int index,
|
||||||
self->getfunc = getfunc;
|
self->getfunc = getfunc;
|
||||||
self->index = index;
|
self->index = index;
|
||||||
|
|
||||||
Py_XINCREF(proto);
|
Py_INCREF(proto);
|
||||||
self->proto = proto;
|
self->proto = proto;
|
||||||
|
|
||||||
switch (fieldtype) {
|
switch (fieldtype) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue