diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-07 09:11:38 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-07 09:11:38 +0000 |
commit | 41b809d2aa98bb4381452a926cc489d25553f57e (patch) | |
tree | 31158d9368425096d44e5057668286b925c92e02 /src/or/config.c | |
parent | d9f86e278221930fe1faa9754eafbdf52012eedb (diff) | |
download | tor-41b809d2aa98bb4381452a926cc489d25553f57e.tar.gz tor-41b809d2aa98bb4381452a926cc489d25553f57e.zip |
salvage another 300 bytes per hup
svn:r3106
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 5994e6e807..912ab8c83d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -975,6 +975,8 @@ options_free(or_options_t *options) int i; void *lvalue; + tor_assert(options); + for (i=0; config_vars[i].name; ++i) { lvalue = ((char*)options) + config_vars[i].var_offset; switch (config_vars[i].type) { @@ -1005,6 +1007,7 @@ options_free(or_options_t *options) break; } } + tor_free(options); } /** Return true iff the option <b>var</b> has the same value in <b>o1</b> |