dircache: fix identation and remove unneded goto

This commit is contained in:
juga0
2018-11-19 17:27:41 +00:00
committed by teor
parent 892b918b66
commit da7a8d7624
+8 -8
View File
@@ -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