mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
dircache: fix identation and remove unneded goto
This commit is contained in:
@@ -2548,14 +2548,14 @@ test_dir_handle_get_status_vote_next_bandwidth(void* data)
|
||||
* If it would, the size and content would be different than the original.
|
||||
*/
|
||||
|
||||
done:
|
||||
UNMOCK(get_options);
|
||||
UNMOCK(connection_write_to_buf_impl_);
|
||||
connection_free_minimal(TO_CONN(conn));
|
||||
tor_free(header);
|
||||
tor_free(body);
|
||||
tor_free(expires);
|
||||
or_options_free(mock_options); mock_options = NULL;
|
||||
done:
|
||||
UNMOCK(get_options);
|
||||
UNMOCK(connection_write_to_buf_impl_);
|
||||
connection_free_minimal(TO_CONN(conn));
|
||||
tor_free(header);
|
||||
tor_free(body);
|
||||
tor_free(expires);
|
||||
or_options_free(mock_options);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user