]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test/sr: update sr_state_free() to sr_state_free_all() in a comment
authorteor <teor@torproject.org>
Mon, 18 Mar 2019 01:28:34 +0000 (11:28 +1000)
committerteor <teor@torproject.org>
Mon, 18 Mar 2019 01:28:34 +0000 (11:28 +1000)
src/test/test_shared_random.c

index 2d07eb219843684f716dfc015e1ebbda191268c1..630883e1fb4320b7620cae3f7452a740d45d0883 100644 (file)
@@ -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)