]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tue, 5 Aug 2003 06:32:06 -0700 (PDT)
Subject: memory leak -- but where?
Greetings
Here is a subroutine that does a frequently-wanted thing: it retrieves
the hotsync name. It also leaks maxsize bytes every time you call it.
I thought I had goofed
You are unlocking, but not freeing your memory handle. Lookup
MemHandleFree in the reference.
At 06:32 05/08/2003 -0700, you wrote:
Greetings
Here is a subroutine that does a frequently-wanted thing: it retrieves
the hotsync name. It also leaks maxsize bytes every time you call it.
I
Greetings
Here is a subroutine that does a frequently-wanted thing: it retrieves
the hotsync name. It also leaks maxsize bytes every time you call it.
I thought I had goofed by not Unlocking something, but I have matching
MemHandleLock/MemHandleUnlock. what gives?
thanks,
David M
/*