[Fwd: Re: why does this leak?]
[Fwd: Re: why does this leak?]
- Subject: [Fwd: Re: why does this leak?]
- From: Robert Dell <email@hidden>
- Date: Mon, 13 Feb 2006 21:14:00 -0500
forwarded because his mail server is acting up and he requested it forwarded.
-------- Original Message --------
From: - Mon Feb 13 20:44:45 2006
X-UIDL: 100008-1011650739
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
Return-path: <email@hidden>
Received: from mac.com (smtpin13-en2 [10.13.11.241]) by ms74.mac.com (iPlanet Messaging Server 5.2 HotFix 2.03 (built Nov 22 2004)) with ESMTP id <email@hidden> for email@hidden; Mon, 13 Feb 2006 17:18:35 -0800 (PST)
Received: from smtp133.iad.emailsrvr.com (smtp123.iad.emailsrvr.com [207.97.245.123]) by mac.com (Xserve/smtpin13/MantshX 4.0) with ESMTP id k1E1IY2o001873 for <email@hidden>; Mon, 13 Feb 2006 17:18:34 -0800 (PST)
Received: from [17.112.109.251] (unknown [17.112.109.251]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: email@hidden) by relay2.r2.iad.emailsrvr.com (SMTP Server) with ESMTP id 7A49544CF65; Mon, 13 Feb 2006 20:18:33 -0500 (EST)
Date: Mon, 13 Feb 2006 20:17:59 -0500
From: Scott Anguish <email@hidden>
Subject: Re: why does this leak?
In-reply-to: <email@hidden>
To: Charlton Wilbur <email@hidden>
Cc: Robert Dell <email@hidden>
Message-id: <email@hidden>
MIME-version: 1.0 (Apple Message framework v746.2)
X-Mailer: Apple Mail (2.746.2)
Content-type: text/plain; format=flowed; delsp=yes; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Virus-Scanned: OK
References: <email@hidden> <email@hidden>
Original-recipient: rfc822;email@hidden
Further, I see nothing in the documentation that indicates that -
[NSMenu addItem:] sends a retain message,
actually, if it doesn't retain it that should be documented, rather
than documenting that it does.
or -[NSMenu removeItemAtIndex:] sends a release message.
same thing..
If you compare this to the documentation for -[NSMutableSet
addObject:] and -[NSMutableSet removeObjectAtIndex:],for instance,
you'll see that both of the latter are explicitly documented to
send retain and release messages,
and that is a bug that I has just been filed. it should not
explicitly state that there..
the rule is that only exceptions to the memory management rules
(http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/
index.html) should be called out explicitly in the class references.
_______________________________________________
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