Cocoa Memory Leaks
Cocoa Memory Leaks
- Subject: Cocoa Memory Leaks
- From: Dominic Feira <email@hidden>
- Date: Mon, 20 Jun 2005 19:29:29 -0400
Hello.
I am in the process of hunting down some memory leaks and seem to have
come across a leak.
Here is some output from ObjectAlloc (which can't be copied from, ugh):
70 [NSTableView drawRect:]
70 [NSTableView drawRow: clipRect:]
37 [NSTextFieldCell drawWithFrame: inView:]
33 [NSActionCell setObjectValue:]
I'll spare you the complete dump. Anyway, if you follow both
drawWithFrame: inView and setObjectValue: all the way down to the leaf
nodes, there is a CFStringCreateCopy that is creating all of the
CFString immutables. None of these seem to ever bee freed.
Is this a known issue (I'm developing on 10.3.9)? How many other leaks
are there in Cocoa?
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden