Commit 14d70610 authored by Neal Norwitz's avatar Neal Norwitz

proto was dereffed above and is known to be good. No need for X.

Reported by Klocwork, #39.
parent 0877a966
......@@ -124,7 +124,7 @@ CField_FromDesc(PyObject *desc, int index,
self->getfunc = getfunc;
self->index = index;
Py_XINCREF(proto);
Py_INCREF(proto);
self->proto = proto;
switch (fieldtype) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment