Commit a526158
pythongh-124606: Fix reference leak in error path in
Previously `tzdata` and `dtstr_clean` were not decrefed in the `invalid_iso_midnight` error path of the `datetime_isoformat` function.datetime_fromisoformat in _datetimemodule.c (python#124607)1 parent 3e9a1e5 commit a526158
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5959 | 5959 | | |
5960 | 5960 | | |
5961 | 5961 | | |
| 5962 | + | |
| 5963 | + | |
5962 | 5964 | | |
5963 | 5965 | | |
5964 | 5966 | | |
| |||
0 commit comments