Skip to content

Commit 07f3e06

Browse files
committed
[SwiftSyntax] Remove unnecessary cleanup
1 parent f3cd081 commit 07f3e06

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/SwiftSyntax/BumpPtrAllocator.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public class BumpPtrAllocator {
4848

4949
deinit {
5050
/// Deallocate all memory.
51-
_totalBytesAllocated = 0
52-
current = nil
5351
while let slab = slabs.popLast() {
5452
slab.deallocate()
5553
}

0 commit comments

Comments
 (0)