Browse Source

test/sr: update sr_state_free() to sr_state_free_all() in a comment

teor 5 years ago
parent
commit
aec6ee201b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_shared_random.c

+ 1 - 1
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.
  *  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.)
  *  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). */
  * function (on pass or fail). */
 static void
 static void
 test_sr_setup_srv(int also_current)
 test_sr_setup_srv(int also_current)