Commit 66c8334
committed
phar: Fix memory leaks when creating temp file fails when applying zip signature
Also fixes up the error propagation at the call site which jumped to the
wrong place in the error handling code.
Closes phpGH-20057.1 parent 4fed57e commit 66c8334
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1192 | 1192 | | |
1193 | 1193 | | |
1194 | 1194 | | |
| 1195 | + | |
1195 | 1196 | | |
| 1197 | + | |
1196 | 1198 | | |
1197 | 1199 | | |
1198 | 1200 | | |
| |||
1456 | 1458 | | |
1457 | 1459 | | |
1458 | 1460 | | |
| 1461 | + | |
1459 | 1462 | | |
1460 | 1463 | | |
1461 | 1464 | | |
1462 | 1465 | | |
1463 | | - | |
| 1466 | + | |
1464 | 1467 | | |
1465 | 1468 | | |
1466 | 1469 | | |
| |||
1488 | 1491 | | |
1489 | 1492 | | |
1490 | 1493 | | |
1491 | | - | |
| 1494 | + | |
1492 | 1495 | | |
1493 | 1496 | | |
1494 | 1497 | | |
| |||
0 commit comments