Quellcode durchsuchen

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

teor vor 5 Jahren
Ursprung
Commit
aec6ee201b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)