mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Minor cleanups in test_config.
Use a more standard indentation style for the end block; remove redundant if() around tor_free.
This commit is contained in:
parent
b8abedfeee
commit
2f714d60a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user