commit | 70ce1505e1d9b73060828552b695d0d4a4b57515 | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Tue Mar 02 09:59:44 2010 +0000 |
committer | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Tue Mar 02 09:59:44 2010 +0000 |
tree | 64585831d9c4d8b6573ec47c0f7dec91abaa5daa | |
parent | 7bfbf4ba583f5da45795856accc9cf1c7bd5623f [diff] |
tests: enable leak checking under --valgrind Since we have squashed all the leaks (or at least the ones that show up in the test suite), we can now use valgrind to look out for new ones. One of the reasons for this exercise is the index code, which mixes recursion with allocating and freeing memory. Memory leaks may not cause any problems at run-time - but they're still bugs, and bugs can make code harder to maintain.