Kaydet (Commit) ddc120f4 authored tarafından Victor Stinner's avatar Victor Stinner

Fix refleak introduced in change 032cbdb596fe

Issue #28915.
üst c24217e1
......@@ -1409,6 +1409,7 @@ build_struct_time(int y, int m, int d, int hh, int mm, int ss, int dstflag)
result = _PyObject_CallMethodIdObjArgs(time, &PyId_struct_time,
args, NULL);
Py_DECREF(time);
Py_DECREF(args);
return result;
}
......
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