From ce4687fbf96c8edfbd10b5235f8fdd9c529fa744 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 18 Apr 2002 17:49:14 +0000 Subject: Added the debuggin_strdup() function and the associated safestrdup() macro. Also, added asserts to the other debugging_* functions. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4959eb6..0c6ac64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2002-04-18 Robert James Kaes + * src/utils.c (debugging_strdup): Added this function to be used + by the safestrdup() macro to replace all the calls to strdup(). + This should allow better tracking of the memory usage. + Also, all the debugging_* functions have had asserts added to them + to hopefully improve the quality of the code. + + * src/reqs.c (get_all_headers): Fixed a memory leak since I was + not freeing the header variable, even though the hashmap makes a + copy of it. Thanks to Petr Lampa for finding this one. + * src/tinyproxy.c (takesig): Moved the filter_destroy() code out of the signal handler and placed it inside of main(). Same reasoning as the rotate_log_files() changes below. -- cgit v1.2.3