]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
dircache: fix identation and remove unneded goto
authorjuga0 <juga@riseup.net>
Mon, 19 Nov 2018 17:27:41 +0000 (17:27 +0000)
committerteor <teor@torproject.org>
Tue, 26 Mar 2019 07:41:17 +0000 (17:41 +1000)
src/test/test_dir_handle_get.c

index 0cd7e1050adbc898f82fc8501ea0bb423e2260c5..22f5a9b3daefc0d2502a38cb20aa4de8e5351298 100644 (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