Commit 97dd9881 authored by Stefan Behnel's avatar Stefan Behnel

fix C compiler warning in Py2.4

parent 3096eac8
......@@ -905,8 +905,9 @@ static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObj
result = PyObject_Call(metaclass, margs, mkw);
Py_DECREF(margs);
}
if (calculate_metaclass)
if (calculate_metaclass) {
Py_DECREF(metaclass);
}
return result;
}
......
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