[PR #1181] [MERGED] Fixed "Possible memory leak in Arm64ddc? #1087" #1243

Closed
opened 2026-05-05 07:08:51 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MonitorControl/MonitorControl/pull/1181
Author: @waydabber
Created: 9/18/2022
Status: Merged
Merged: 9/18/2022
Merged by: @waydabber

Base: mainHead: fix/tweak


📝 Commits (2)

  • 389d587 Implement #1087 (Possible memory leak in arm64ddc?)
  • db3aae8 Ops.. an other IOObjectRelease was needed. :)

📊 Changes

4 files changed (+179 additions, -204 deletions)

View changed files

📝 MonitorControl/Info.plist (+1 -1)
📝 MonitorControl/Support/Arm64DDC.swift (+10 -4)
📝 MonitorControl/UI/ru.lproj/Main.strings (+167 -198)
📝 MonitorControlHelper/Info.plist (+1 -1)

📄 Description

  • added IOObjectRelease for the iterator
  • simply cast strings as CFString instead of using CFStringCreateWithCString()

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MonitorControl/MonitorControl/pull/1181 **Author:** [@waydabber](https://github.com/waydabber) **Created:** 9/18/2022 **Status:** ✅ Merged **Merged:** 9/18/2022 **Merged by:** [@waydabber](https://github.com/waydabber) **Base:** `main` ← **Head:** `fix/tweak` --- ### 📝 Commits (2) - [`389d587`](https://github.com/MonitorControl/MonitorControl/commit/389d587bcfc0a46a849027445d94b206104c3b3d) Implement #1087 (Possible memory leak in arm64ddc?) - [`db3aae8`](https://github.com/MonitorControl/MonitorControl/commit/db3aae8536b0f2451333a693e6fa2a7e8dc7e405) Ops.. an other IOObjectRelease was needed. :) ### 📊 Changes **4 files changed** (+179 additions, -204 deletions) <details> <summary>View changed files</summary> 📝 `MonitorControl/Info.plist` (+1 -1) 📝 `MonitorControl/Support/Arm64DDC.swift` (+10 -4) 📝 `MonitorControl/UI/ru.lproj/Main.strings` (+167 -198) 📝 `MonitorControlHelper/Info.plist` (+1 -1) </details> ### 📄 Description - added `IOObjectRelease` for the iterator - simply cast strings as `CFString` instead of using `CFStringCreateWithCString()` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:08:51 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#1243
No description provided.