Re: [Scid-users] spellcorrection: memory leak

2009-02-26 Thread Joost ´t Hart
On Thu, 2009-02-26 at 20:58 +0100, Pascal Georges wrote: > in file > src/cutil.c > you can set logMemory to 1. Then run Scid (output into a log file) and > your favorite functions and you can use > pocket/checkmemlog.tcl > to check if some memory is unfreed. Maybe you will have trouble with > thos

Re: [Scid-users] spellcorrection: memory leak

2009-02-26 Thread Pascal Georges
in file src/cutil.c you can set logMemory to 1. Then run Scid (output into a log file) and your favorite functions and you can use pocket/checkmemlog.tcl to check if some memory is unfreed. Maybe you will have trouble with those tools but they helped me some time ago. I wrote those utilities to ma

[Scid-users] spellcorrection: memory leak

2009-02-26 Thread Joost ´t Hart
Hi, I think I spotted a memory leak in the spelling correction code. For the mapping of the new name id's and the life span checking, three arrays are allocated, of which only the id list is properly freed before the operation terminates. The date lists are not. For a reasonably big database (of