aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir_handle_get.c
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-11-19 17:27:41 +0000
committerteor <teor@torproject.org>2019-03-26 17:41:17 +1000
commitda7a8d7624b76053210bad6f830df7842a4b30f1 (patch)
tree1b76de126e1239a52e2d60a91516c48a41975e32 /src/test/test_dir_handle_get.c
parent892b918b6610d662a9536d29c4edf9f4eac5da88 (diff)
downloadtor-da7a8d7624b76053210bad6f830df7842a4b30f1.tar.gz
tor-da7a8d7624b76053210bad6f830df7842a4b30f1.zip
dircache: fix identation and remove unneded goto
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r--src/test/test_dir_handle_get.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index 0cd7e1050a..22f5a9b3da 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -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