# gpui: Fix some memory leaks on macOS platform \(\#44639\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/79dfae24648d5dcb5d5841baa966b798bb554fb5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 79dfae24648d5dcb5d5841baa966b798bb554fb5

Requested commit: 79dfae24648d5dcb5d5841baa966b798bb554fb5

Commit: 79dfae24648d5dcb5d5841baa966b798bb554fb5

Tree: a24ef27ac7c1e3fad2b286524952e76ee731eb10

Author: Marco Mihai Condrache

Committer: GitHub

## Message

```
gpui: Fix some memory leaks on macOS platform (#44639)

While profiling with instruments, I discovered that some of the strings
allocated on the mac platform are never released, and the profiler marks
them as leaks

<img width="1570" height="219" alt="image"
src="https://github.com/user-attachments/assets/174e9293-5139-46ae-8757-c8989f3fc598"
/>


Release Notes:

- N/A

---------

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
Co-authored-by: Anthony Eid <anthony@zed.dev>
```

## Parents

- [e1063743e8314af942e6a017ebfeeb06acddacaf](https://git.cafe/gitcafe/zed/commit/e1063743e8314af942e6a017ebfeeb06acddacaf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/79dfae24648d5dcb5d5841baa966b798bb554fb5?format=markdown)
