mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In the course of preparing the bridging object to be bridged to a Swift value, we forwarded the cast flags to _dynamicCastUnknownClass unaltered, which caused a leak for copy-on-success casts since it introduced an extra retain. Fix this by simplifying _dynamicCastUnknownClass to have no retain/release behavior of its own. Fixes rdar://problem/22587077. Swift SVN r31841
6.0 KiB
6.0 KiB