Skip to content

Commit 4c3ea81

Browse files
authored
Fix memory leak in Lock (#331)
1 parent 5c8bd18 commit 4c3ea81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Sources/AsyncAlgorithms/Locking.swift

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ internal struct Lock {
9595

9696
func deinitialize() {
9797
Lock.deinitialize(platformLock)
98+
platformLock.deallocate()
9899
}
99100

100101
func lock() {

0 commit comments

Comments
 (0)