1. Armin Rigo
  2. cpython-withatomic

Commits

Michael W. Hudson  committed 7aaa852

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

  • Participants
  • Parent commits 2bc3326
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Modules/_ssl.c

View file
 	PyTuple_SET_ITEM(v, 0, n);
 	PyTuple_SET_ITEM(v, 1, s);
 	PyErr_SetObject(PySSLErrorObject, v);
+	Py_DECREF(v);
 	return NULL;
 }