Add a missing decref -- PyErr_SetObject increfs the 'object'!

This commit is contained in:
Michael W. Hudson 2004-08-04 14:59:00 +00:00
parent 7d6cc5b303
commit 5910d81c97

View File

@ -169,6 +169,7 @@ PySSL_SetError(PySSLObject *obj, int ret)
PyTuple_SET_ITEM(v, 0, n);
PyTuple_SET_ITEM(v, 1, s);
PyErr_SetObject(PySSLErrorObject, v);
Py_DECREF(v);
return NULL;
}