aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 6786fd749e..7a5740cc99 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -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);