Commit 29f96fb
committed
Fix potential leaks when writing to BIO fails
When the BIO is created but writing fails, these can leak.
Closes phpGH-18186.1 parent 90f582b commit 29f96fb
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5742 | 5742 | | |
5743 | 5743 | | |
5744 | 5744 | | |
5745 | | - | |
5746 | 5745 | | |
| 5746 | + | |
5747 | 5747 | | |
5748 | 5748 | | |
5749 | 5749 | | |
| |||
5757 | 5757 | | |
5758 | 5758 | | |
5759 | 5759 | | |
5760 | | - | |
5761 | 5760 | | |
| 5761 | + | |
5762 | 5762 | | |
5763 | 5763 | | |
5764 | 5764 | | |
| |||
6383 | 6383 | | |
6384 | 6384 | | |
6385 | 6385 | | |
6386 | | - | |
6387 | 6386 | | |
| 6387 | + | |
6388 | 6388 | | |
6389 | 6389 | | |
6390 | 6390 | | |
| |||
6398 | 6398 | | |
6399 | 6399 | | |
6400 | 6400 | | |
6401 | | - | |
6402 | 6401 | | |
| 6402 | + | |
6403 | 6403 | | |
6404 | 6404 | | |
6405 | 6405 | | |
| |||
0 commit comments