summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 7f31726a7d..e949a4f242 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2207,12 +2207,12 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
char *result;
size_t len;
struct mallinfo mi;
- memset(&mi, 0, sizeof(mi));
smartlist_t *lines;
+ char tmp[256];
+ memset(&mi, 0, sizeof(mi));
mi = mallinfo();
lines = smartlist_create();
- char tmp[256];
ADD_MALLINFO_LINE(arena)
ADD_MALLINFO_LINE(ordblks)