Added missing DECREF.

This commit is contained in:
Daniele Varrazzo 2007-10-18 17:29:15 +00:00
parent c71b7a03d0
commit 63773ad1e0

View File

@ -565,6 +565,7 @@ psyco_decimal_init(void)
PyObject *decimal = PyImport_ImportModule("decimal");
if (decimal) {
decimalType = PyObject_GetAttrString(decimal, "Decimal");
Py_DECREF(decimal);
}
else {
PyErr_Clear();