| | | |------------------|-----------------| |Previous ID | SR-4036 | |Radar | rdar://problem/73153090 | |Original Reporter | @pushkarnk | |Type | Bug | Attachment: [Download](https://user-images.githubusercontent.com/2727770/164961918-0bfa0d13-b0c3-42a3-bec3-2f50090e6718.gz) <details> <summary>Additional Detail from JIRA</summary> | | | |------------------|-----------------| |Votes | 1 | |Component/s | Foundation | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 342a1be011db14a8a68d02d0d35c641e </details> **Issue Description:** This code leaks memory ``` java for i in 1...100000 { let s: String = "test\(i)" let c = s.cString(using: .utf8) print(c) } ```