Hopefully someone at palm will see this.

I'm getting a memory leak of 16bytes from the following:


        error=VFSFileOpen(volRefNum,fullpath,vfsModeRead,&fileRef);
        VFSFileClose(fileRef);

I do have a directory open (using VFSFileOpen) when the code
above is run.  I imagine that may be the problem (as I've
opened files and directories separately before).

Does the VFS have a limit on the number of open files?
Hopefully not 1!  I do not get an error from the above
code just the memory leak.

I should also state the fullpath is the output from an 
VFSDirEntryEnumerate() call...

Setup

ROM File: PalmOS40dr5-en-vz-wca16expn.rom
POSE:  3.0a8

CodeWarrior 6.0 with upgraded OS4.0 sdk.


Anybody else see something like this??

-Jason

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to