summaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-06 20:24:45 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-06 20:24:45 +1100
commitbb32c29986ecae6a213254dbfcd5c652caa4102c (patch)
treeaae70e93af94bc54f3c7b03907bae1de2362e233 /src/or/policies.c
parent16bec0dfd9e5cdd0faf99587c2261b148bc58011 (diff)
downloadtor-bb32c29986ecae6a213254dbfcd5c652caa4102c.tar.gz
tor-bb32c29986ecae6a213254dbfcd5c652caa4102c.zip
Initialise configured_addresses to a known value (NULL)
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index 7f71b0df22..2f81942832 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -1350,7 +1350,7 @@ policies_parse_exit_policy_from_options(const or_options_t *or_options,
smartlist_t **result)
{
exit_policy_parser_cfg_t parser_cfg = 0;
- smartlist_t *configured_addresses;
+ smartlist_t *configured_addresses = NULL;
int rv = 0;
/* Short-circuit for non-exit relays */