Skip to content
GitLab
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
c1449740
Commit
c1449740
authored
May 15, 1999
by
Per Cederqvist
Browse files
Fix the framework for hunting memory leaks.
parent
02ac6ebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c1449740
1999-05-16 Per Cederqvist <ceder@lysator.liu.se>
Fix the framework for hunting memory leaks.
* configure.in: Handle --with-traced-allocations.
* acconfig.h (TRACED_ALLOCATIONS): New define.
* src/server/trace-alloc.h: New file.
* src/server/testsuite/config/unix.exp (lyskomd_start): Handle
TRACED_ALLOCATIONS.
(lyskomd_fail_start): Likewise.
* src/server/ramkomd.c (main): Call trace_alloc_file very early
during startup if compiled with TRACED_ALLOCATIONS.
* src/server/ram-smalloc.c: Test TRACED_ALLOCATIONS instead of
DEBUG_MALLOC.
(trace_alloc_file): New function, that sets up malloc_fp.
(trace_smalloc): Write to malloc_fp.
(trace_free): Likewise.
(srealloc): Likewise.
* src/server/ram-smalloc.c: Don't test USE_GNU_MALLOC; that symbol
was removed 1998-08-09.
1999-05-14 Per Cederqvist <ceder@lysator.liu.se>
Fixes to the test suite.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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