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

Add a missing decref.

üst 52db519f
......@@ -36,6 +36,7 @@ PyRange_New(long start, long len, long step, int reps)
(last < (-1 - PyInt_GetMax() - step))) {
PyErr_SetString(PyExc_OverflowError,
"integer addition");
Py_DECREF(obj);
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