realbasic-plugins
[Top] [All Lists]

Re: REALLoadObjectMethod leaking memory?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: REALLoadObjectMethod leaking memory?
From: Alexander Traud <alexander dot traud at macnews dot de>
Date: Fri, 13 Jan 2006 20:47:08 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
> by which method do you determine the leaking?

I call an own dynamic rather than a native REALbasic one. The instance has
to have a special method, for example: DragPromise(parent As FolderItem,
type As String, creator As String, row As Integer) As FolderItem
This leaks with 9 pointers counting together for 312 bytes. For each
parameter two pointers: one containing the name the other the parameter
number. The result is another pointer - I think because the data makes no
sense to me.

Yes, the leak is small, very small and you need a lot of calls to recognise
it actually. However, I wonder, because it seems to be there since day one -
could be a misuse by me.

_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>