On Jun 15, 2006, at 5:30 PM, Björn Eiríksson wrote:


On 15.6.2006, at 22:27, Jonathan Johnson wrote:

I doubt it's the latter -- that code hasn't changed in an extremely long time (before I even started working here). Is your destructor being called?

-Jon


Yes the entire Grid control gets correctly disposed in the Dispose event, leaving the byte count of the String properties left.

Note if it is a bug in REALbasic REALstandardSetter then it might not be a new one at all, I at least have never tested for it before.

The entire framework would be leaking all over the place if this was the case. The function used for the standard setter is used for a lot of the C++ framework also.

So, it only leaks the byte count of the string itself? I would expect any leak to be of the string header + the length of the string.

How are you determining the leak?

-Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to