[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.3.4] test/sr: update sr_state_free() to sr_state_free_all() in a comment



commit aec6ee201bbf63f54bcf879de10addf00779504c
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Mon Mar 18 11:28:34 2019 +1000

    test/sr: update sr_state_free() to sr_state_free_all() in a comment
---
 src/test/test_shared_random.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 2d07eb219..630883e1f 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -551,7 +551,7 @@ test_encoding(void *arg)
  *  If <b>also_current</b> is set, then set both current and previous SRVs.
  *  Otherwise, just set the previous SRV. (And clear the current SRV.)
  *
- * You must call sr_state_free() to free the state at the end of each test
+ * You must call sr_state_free_all() to free the state at the end of each test
  * function (on pass or fail). */
 static void
 test_sr_setup_srv(int also_current)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits