Commit 2a57bad0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Improved valgrind support. Note a memory leak. Shut up valgrind.

Test suite fix.
parent 2882db5e
2002-08-02 Per Cederqvist <>
Improved valgrind support.
* Remove all remnants of the purify support, since
it was broken when we switched to automake. Added valgrind
* src/server/testsuite/.cvsignore: Ignore valgrind-*.log.
* src/server/testsuite/ (site.exp): Set valgrind.
* src/server/testsuite/config/unix.exp: Use the "valgrind"
variable from site.exp. It contains a the path name of the
valgrind binary to use.
(spawn_lyskomd): Adjust accordingly. Don't use -v.
(check_valgrind): New argument: expected_leaks.
(lyskomd_death): Pass the new optional argument "expected_leaks"
to check_valgrind.
Note a memory leak.
* src/server/testsuite/lyskomd.0/regexp-match-cov.exp: Bug 689 is
a hard-to-fix memory leak. Mark it as an expected failure.
(shutdown): Pass info about expected leaks to lyskomd_death.
Shut up valgrind.
* src/server/memory.c (init_person): Clear the pwd field. This
way, we avoid writing junk to the database file, and we make
valgrind happy. The junk was never used, so this is not a
Test suite fix.
* src/server/testsuite/lyskomd.0/27.exp: Use idholl where
Fix a minor memory leak.
* src/server/aux-items.c (free_aux_item_definitions): Fixed a
memory leak. We have to call regfree() to deallocate stuff within
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment