diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:49:14 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:49:14 +0000 |
commit | ce4687fbf96c8edfbd10b5235f8fdd9c529fa744 (patch) | |
tree | b5c9a01b6e90c4da4b09542c12fe7d7d16b75e48 /ChangeLog | |
parent | dc18888c839a0db809e1adc4c6274457b7ea6f47 (diff) | |
download | tinyproxy-ce4687fbf96c8edfbd10b5235f8fdd9c529fa744.tar.gz tinyproxy-ce4687fbf96c8edfbd10b5235f8fdd9c529fa744.zip |
Added the debuggin_strdup() function and the associated safestrdup()
macro. Also, added asserts to the other debugging_* functions.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2002-04-18 Robert James Kaes <rjkaes@flarenet.com> + * 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. |