From b35f7dacef6b5e4215dfba9a4088a73421fb103c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 3 May 2005 03:51:20 +0000 Subject: Call tor_free_all instead of connections_free_all after forking svn:r4173 --- src/or/cpuworker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/cpuworker.c') diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 3a1a61a8ea..1f4f4aec1d 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -214,7 +214,7 @@ static int cpuworker_main(void *data) { fd = fdarray[1]; /* this side is ours */ #ifndef TOR_IS_MULTITHREADED tor_close_socket(fdarray[0]); /* this is the side of the socketpair the parent uses */ - connection_free_all(); /* so the child doesn't hold the parent's fd's open */ + tor_free_all(1); /* so the child doesn't hold the parent's fd's open */ handle_signals(0); /* ignore interrupts from the keyboard, etc */ #endif tor_free(data); -- cgit v1.2.3-54-g00ecf