Commit 0ec7c9d
authored
Call PyBuffer_Release() if PyObject_GC_New() fails.
Fix also bytes_join(): only call Py_DECREF(item) after formatting the
error message which uses item.
1 parent b3b7c00 commit 0ec7c9d
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11332 | 11332 | | |
11333 | 11333 | | |
11334 | 11334 | | |
| 11335 | + | |
11335 | 11336 | | |
11336 | 11337 | | |
11337 | 11338 | | |
| |||
0 commit comments