Commit 5910d81c authored by Michael W. Hudson's avatar Michael W. Hudson

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

parent 7d6cc5b3
......@@ -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;
}
......
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