Issue 38 in maccode: Memory leaks

5 views
Skip to first unread message

codesite...@google.com

unread,
Jan 20, 2011, 2:00:04 AM1/20/11
to mac...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 38 by fake.sha...@gmail.com: Memory leaks
http://code.google.com/p/maccode/issues/detail?id=38

in Utilities/PSMTabBarControl/source/PSMAquaTabStyle.m:
TruncatingTailParagraphStyle = [[[NSParagraphStyle defaultParagraphStyle]
mutableCopy] retain];
centeredParagraphStyle = [[[NSParagraphStyle defaultParagraphStyle]
mutableCopy] retain];

"mutableCopy" already retains, so you are retaining twice, causing a memory
leak

Reply all
Reply to author
Forward
0 new messages