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:
Nick Mathewson 2017-05-09 08:20:14 -04:00
parent b8abedfeee
commit 2f714d60a4

View File

@ -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;