From d56a34e4669afa708831554e78afe1759ff774d9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 16 Dec 2007 19:33:52 +0000 Subject: [PATCH] r16991@catbus: nickm | 2007-12-06 15:05:56 -0500 Move event_init in regress.c to the function that actually messed up the current_base value. svn:r598 --- test/regress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/regress.c b/test/regress.c index ac504f5f..993fd8a0 100644 --- a/test/regress.c +++ b/test/regress.c @@ -716,6 +716,7 @@ test_free_active_base(void) event_base_free(base1); test_ok = 1; cleanup_test(); + global_base = event_init(); } static void @@ -738,7 +739,6 @@ test_event_base_new(void) event_base_free(base); test_ok = 1; cleanup_test(); - event_init(); } static void