-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
In CurrentUser.getCurrentUser()
, an UnsafeMutablePointer<passwd>
is allocated but never explicitly freed. When I added a deallocate()
call in a defer block, the process crashed saying the pointer was freed but never allocated. I am uncertain if there is a memory leak here.
To Reproduce
- Open a workspace, thus creating a terminal, which calls
CurrentUser.getCurrentUser()
.
Expected Behavior
No memory leak, but, again, I am uncertain if there is actually a leak here.
Version Information
CodeEdit: 0.3.6-dev (37)
macOS: 15.6.1
Xcode: 26.0
Additional Context
No response
Screenshots
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
🆕 New