Fix refleak introduced in change 032cbdb596fe

Issue #28915.
This commit is contained in:
Victor Stinner 2016-12-09 15:35:40 +01:00
parent c24217e144
commit ddc120f4cf
1 changed files with 1 additions and 0 deletions

View File

@ -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, result = _PyObject_CallMethodIdObjArgs(time, &PyId_struct_time,
args, NULL); args, NULL);
Py_DECREF(time); Py_DECREF(time);
Py_DECREF(args);
return result; return result;
} }