aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r--src/test/test_config.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 8dc9fb032e..d27f07226b 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -899,13 +899,10 @@ test_config_fix_my_family(void *arg)
}
tt_int_op(ret_size, OP_EQ, 5);
- done:
- if (err != NULL) {
- tor_free(err);
- }
-
- or_options_free(options);
- or_options_free(defaults);
+ done:
+ tor_free(err);
+ or_options_free(options);
+ or_options_free(defaults);
}
static int n_hostname_01010101 = 0;