Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2a57bad0
Commit
2a57bad0
authored
Aug 02, 2002
by
Per Cederqvist
Browse files
Improved valgrind support. Note a memory leak. Shut up valgrind.
Test suite fix.
parent
2882db5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
2a57bad0
2002
-
08
-
02
Per
Cederqvist
<
ceder
@
ceder
.
dyndns
.
org
>
Improved
valgrind
support
.
*
configure
.
in
:
Remove
all
remnants
of
the
purify
support
,
since
it
was
broken
when
we
switched
to
automake
.
Added
valgrind
support
.
*
src
/
server
/
testsuite
/.
cvsignore
:
Ignore
valgrind
-*.
log
.
*
src
/
server
/
testsuite
/
Makefile
.
am
(
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
bugfix.
Test suite fix.
* src/server/testsuite/lyskomd.0/27.exp: Use idholl where
appropriate.
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment