mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-22 04:10:40 +00:00
Fix memory leak in Lock (#331)
This commit is contained in:
1 parent
5c8bd186f4
commit
4c3ea81f81
1 file changed
+1
@@ -95,6 +95,7 @@ internal struct Lock {
|
||||
|
||||
func deinitialize() {
|
||||
Lock.deinitialize(platformLock)
|
||||
platformLock.deallocate()
|
||||
}
|
||||
|
||||
func lock() {
|
||||
|
||||
Reference in new issue
Block a user