diff options
author | Roger Dingledine <arma@torproject.org> | 2005-05-20 22:11:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-05-20 22:11:46 +0000 |
commit | c95677725a961fbeecfff2f46757f41fb487dff9 (patch) | |
tree | 45102fa1c448e3169164e83fc992c490b3b4ae4a | |
parent | 3d1d44f55b45983f26245778eb4135a17e23acf6 (diff) | |
download | tor-c95677725a961fbeecfff2f46757f41fb487dff9.tar.gz tor-c95677725a961fbeecfff2f46757f41fb487dff9.zip |
a note for nick about other memory not freed at exit
svn:r4275
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 3a9323ee11..fdaaddbb72 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -784,6 +784,7 @@ static void second_elapsed_callback(int fd, short event, void *args) int seconds_elapsed; or_options_t *options = get_options(); if (!timeout_event) { + /* XXX NM: We don't free timeout_event on exit. */ timeout_event = tor_malloc_zero(sizeof(struct event)); evtimer_set(timeout_event, second_elapsed_callback, NULL); one_second.tv_sec = 1; |