Kaydet (Commit) 109f9141 authored tarafından Neal Norwitz's avatar Neal Norwitz

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

Reported by Klocwork, #39.
üst ce5b3c31
...@@ -124,7 +124,7 @@ CField_FromDesc(PyObject *desc, int index, ...@@ -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) {
......
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