mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-14 07:31:27 +00:00
* fixed a memory leak
* Modules/Editors/ProjectCenter/PCEditor.m: - replaced RETAIN() with ASSIGN() to avoid memory leaking;
This commit is contained in:
parent
377359a92f
commit
d63d77b98e
1 changed files with 1 additions and 2 deletions
|
@ -310,8 +310,7 @@
|
|||
textBackgroundColor = readOnlyColor;
|
||||
}
|
||||
|
||||
textColor = [prefs colorForKey:EditorForegroundColor defaultValue:textColor];
|
||||
RETAIN(textColor);
|
||||
ASSIGN(textColor, [prefs colorForKey:EditorForegroundColor defaultValue:textColor]);
|
||||
|
||||
[attributes setObject:font forKey:NSFontAttributeName];
|
||||
[attributes setObject:textBackgroundColor forKey:NSBackgroundColorAttributeName];
|
||||
|
|
Loading…
Reference in a new issue