Commit c95284d
committed
Avoid a resource leak down extent split failure paths.
Previously, we would leak the extent and memory associated with a salvageable
portion of an extent that we were trying to split in three, in the case where
the first split attempt succeeded and the second failed.1 parent a62e42b commit c95284d
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
1322 | 1329 | | |
1323 | 1330 | | |
1324 | 1331 | | |
1325 | 1332 | | |
1326 | | - | |
1327 | 1333 | | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
| 1334 | + | |
1337 | 1335 | | |
1338 | 1336 | | |
1339 | 1337 | | |
| |||
0 commit comments