mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
bugfix on r11301:
Fix a minor memory leak whenever we wrote out a file. Bugfix on 0.2.0.7-alpha. svn:r11863
This commit is contained in:
parent
900ddcb8fd
commit
bab60e5ade
@ -93,6 +93,8 @@ Changes in version 0.2.0.8-alpha - 2007-10-12
|
||||
Bugfix in 0.2.0.7-alpha.
|
||||
- Fix a minor memory leak whenever we parse guards from our state
|
||||
file. Bugfix on 0.2.0.7-alpha.
|
||||
- Fix a minor memory leak whenever we wrote out a file. Bugfix on
|
||||
0.2.0.7-alpha.
|
||||
|
||||
o Code simplifications and refactoring:
|
||||
- Make a bunch of functions static. Remove some dead code.
|
||||
|
@ -1657,8 +1657,6 @@ finish_writing_to_file_impl(open_file_t *file_data, int abort_write)
|
||||
}
|
||||
}
|
||||
|
||||
memset(file_data, 0, sizeof(file_data));
|
||||
file_data->fd = -1;
|
||||
tor_free(file_data->filename);
|
||||
tor_free(file_data->tempname);
|
||||
tor_free(file_data);
|
||||
|
Loading…
Reference in New Issue
Block a user