[SR-5344] Memory leak in swift_EnumCaseName() ? #47918
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
runtime
The Swift Runtime
standard library
Area: Standard library umbrella
Environment
Xcode 8.3, Xcode 9 beta, and github master (d44cdf4)
Additional Detail from JIRA
md5: 3a32c20f858f1eef01c5996a6647efeb
Issue Description:
The following fragment appears to cause memory usage to grow unboundedly:
I think that the issue is that when swift_EnumCaseName() is called with an enum type that has multiple cases and at least one object payload, it leaks a reference on its boxed-Any parameter.
The text was updated successfully, but these errors were encountered: