summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-22 00:03:51 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-22 00:03:51 +0000
commitad236d4b8b617c7cecab2b59d06e66ef6359cab6 (patch)
tree0edf27198436b14ea4482d70c0902b552806e464
parent442c054a7114fd8818c292cc81698f5479c53f4a (diff)
downloadtor-ad236d4b8b617c7cecab2b59d06e66ef6359cab6.tar.gz
tor-ad236d4b8b617c7cecab2b59d06e66ef6359cab6.zip
freeing is not the same as setting to null
svn:r6219
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 1dadbb606b..c90927712b 100644
--- a/src/or/config.c
+++ b/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;
}
}
}