Ver código fonte

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

teor 5 anos atrás
pai
commit
aec6ee201b
1 arquivos alterados com 1 adições e 1 exclusões
  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.
  *  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)