Re: memory leak -- but where?

2003-08-14 Thread rguevara
] 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

Re: memory leak -- but where?

2003-08-11 Thread Ted Beisler
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

memory leak -- but where?

2003-08-05 Thread David Martin
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 /*