Browse Source

Merge branch 'maint-0.2.9' into maint-0.3.1

Nick Mathewson 5 years ago
parent
commit
a3ec89a4f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/test_shared_random.c

+ 1 - 0
src/test/test_shared_random.c

@@ -780,6 +780,7 @@ test_sr_setup_commits(void)
   /* Now during REVEAL phase save commit D by restoring its reveal. */
   set_sr_phase(SR_PHASE_REVEAL);
   save_commit_to_state(place_holder);
+  place_holder = NULL;
   tt_str_op(commit_d->encoded_reveal, OP_EQ,
             "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
   /* Go back to an empty encoded reveal value. */