Dyk, I already responded to joerg (if that's Joerg Augustin at <[EMAIL PROTECTED]>) privately. Use -mdebug-labels instead of -mdebugs-labels.
-- Keith Rollin -- Palm OS Emulator engineer At 12:05 AM +0200 5/3/02, [EMAIL PROTECTED] wrote: >Hi >I have a problem with memory leaks that I can't find. >I'm using GNU C and POSE tells me to look into the log files >for information about the memory leaks, but POSE doesn't give >me the correct function names where this leak could be. > >I read the documentation of POSE that tells to compile everything >with -mdebugs-labels, but my compiler tells me that this is not a valid >parameter.. > >Any suggestions what the correct flag could be? > > >I'm sure (for 99.9%) that it's not a problem with MemHandleUnlock(h) since >I tested this for every allocation. The problem occurs after having >displayed a table. Is it possible that I have to free the contents >of a table in a >different way? > > >Many thanks, > >Dyk > > > >1603.225: Relocatable chunk leaked at 0x000038EC, size = 313 >1603.225: Chunk allocated by: >1603.225: <Unknown @ 0x00046A7A> >1603.225: InitTextItem >1603.225: DrawTextItem >1603.225: DrawItem >1603.225: DrawTable >1603.225: TblDrawTable >1603.225: FrmDrawForm >1603.225: <Unknown @ 0x00046978> >1603.225: <Unknown @ 0x00047196> >1603.225: PrvSendEventToForm >1603.225: FrmDispatchEvent >1603.225: <Unknown @ 0x000452D2> >1603.225: <Unknown @ 0x0004580A> >1603.225: <Unknown @ 0x0004488E> >1603.225: Chunk contents (first 256 bytes only): >1603.225: 31 35 2E 20 4D 61 69 20 28 4D 69 29 20 2D 20 >31 15. Mai (Mi) - >1 >1603.225: 39 3A 33 30 0A 4B 61 74 68 6F 6C 69 73 63 68 2D > 9:30.Katholisch- >1603.225: 54 68 65 6F 6C 6F 67 69 73 63 68 65 20 46 61 >6B Theologische >Fak >1603.225: 75 6C 74 E4 74 20 41 6B 61 64 65 6D 69 73 63 >68 ult.t >Akademisch > >-- >GMX - Die Kommunikationsplattform im Internet. >http://www.gmx.net > > >-- >For information on using the Palm Developer Forums, or to >unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
