Re: [fpc-pascal] Ansistring not being freed on Halt(1)

2008-09-29 Thread Brad Campbell
Graeme Geldenhuys wrote: On Mon, Sep 29, 2008 at 11:19 AM, Brad Campbell <[EMAIL PROTECTED]> wrote: I'm chasing an issue with a program I have that is leaving an Ansistring unfreed on exit. It exists cleanly without using halt(), but this is the the only way I've managed to reproduce it. Should

Re: [fpc-pascal] Ansistring not being freed on Halt(1)

2008-09-29 Thread Graeme Geldenhuys
On Mon, Sep 29, 2008 at 11:19 AM, Brad Campbell <[EMAIL PROTECTED]> wrote: > I'm chasing an issue with a program I have that is leaving an Ansistring > unfreed on exit. It exists cleanly without using halt(), but this is the the > only way I've managed to reproduce it. > > Should Halt() leave memor

[fpc-pascal] Ansistring not being freed on Halt(1)

2008-09-29 Thread Brad Campbell
I'm chasing an issue with a program I have that is leaving an Ansistring unfreed on exit. It exists cleanly without using halt(), but this is the the only way I've managed to reproduce it. Should Halt() leave memory unfreed? It is only reproducible if I use ExtractFileName or ExtractFileExt.. (