Kaydet (Commit) 5910d81c authored tarafından Michael W. Hudson's avatar Michael W. Hudson

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

üst 7d6cc5b3
...@@ -169,6 +169,7 @@ PySSL_SetError(PySSLObject *obj, int ret) ...@@ -169,6 +169,7 @@ PySSL_SetError(PySSLObject *obj, int ret)
PyTuple_SET_ITEM(v, 0, n); PyTuple_SET_ITEM(v, 0, n);
PyTuple_SET_ITEM(v, 1, s); PyTuple_SET_ITEM(v, 1, s);
PyErr_SetObject(PySSLErrorObject, v); PyErr_SetObject(PySSLErrorObject, v);
Py_DECREF(v);
return NULL; 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