From c95677725a961fbeecfff2f46757f41fb487dff9 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 20 May 2005 22:11:46 +0000 Subject: a note for nick about other memory not freed at exit svn:r4275 --- src/or/main.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-54-g00ecf