This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 7d4982e
committed
[[ Bug 21924 ]] Fix memory leak when choosing item from macOS popup menu
This patch fixes the failure to release the previously chosen popup
menu button label when a new one (from a pick from a macOS popup menu)
replaces it. The leak was caused by using MCValueCopy to overwrite the
label instance variable, rather than using MCValueAssign to assign
to it.1 parent 009e465 commit 7d4982e
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
0 commit comments