diff options
author | Roger Dingledine <arma@torproject.org> | 2007-10-11 02:03:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-10-11 02:03:53 +0000 |
commit | 900ddcb8fdc46efb25764582fd8569b94b3cf20a (patch) | |
tree | 9ecc6ff1f01fadb85578a75fb73c1ba14f75d89f /src/common/util.c | |
parent | 487f985f5b6213b81410c6cae49d12b14ebd979d (diff) | |
download | tor-900ddcb8fdc46efb25764582fd8569b94b3cf20a.tar.gz tor-900ddcb8fdc46efb25764582fd8569b94b3cf20a.zip |
bugfix on r11298:
Fix a minor memory leak whenever we parse guards from our state
file. Bugfix on 0.2.0.7-alpha.
svn:r11862
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index 701256a9ad..6786fd749e 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1530,8 +1530,8 @@ struct open_file_t { /** Try to start writing to the file in <b>fname</b>, passing the flags * <b>open_flags</b> to the open() syscall, creating the file (if needed) with * access value <b>mode</b>. If the O_APPEND flag is set, we append to the - * original file. Otherwise, we open a new a temporary file in the same - * directory, and either replace the original or remove the temprorary file + * original file. Otherwise, we open a new temporary file in the same + * directory, and either replace the original or remove the temporary file * when we're done. * * Return the fd for the newly opened file, and store working data in |