Explorar o código

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

teor %!s(int64=5) %!d(string=hai) anos
pai
achega
aec6ee201b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)