Browse Source

freeing is not the same as setting to null

svn:r6219
Roger Dingledine 19 years ago
parent
commit
ad236d4b8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/config.c

+ 1 - 0
src/or/config.c

@@ -4036,6 +4036,7 @@ or_state_validate(or_state_t *old_state, or_state_t *state, int from_setconf)
                    "Enabling workaround to choose working entry guards.",
                    state->TorVersion);
         config_free_lines(state->EntryGuards);
+        state->EntryGuards = NULL;
       }
     }
   }