Commit de1d2744 authored by Michael W. Hudson's avatar Michael W. Hudson

Add a missing decref.

parent 28adb4c4
......@@ -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