aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-15 23:14:01 +0000
committerPeter Palfrader <peter@palfrader.org>2006-06-15 23:14:01 +0000
commit2ff24dbc2638fc3604e7c5ed3c107fb57d2610a4 (patch)
tree0086963add531780c48eb46e30205f5000f9b1af /src
parentaf0e47c921f619a21032bacf5b98f4664bbb29f3 (diff)
downloadtor-2ff24dbc2638fc3604e7c5ed3c107fb57d2610a4.tar
tor-2ff24dbc2638fc3604e7c5ed3c107fb57d2610a4.tar.gz
And a minor bugfix to the weaselhack
svn:r6629
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index c68e526e4..6575426d2 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1671,6 +1671,8 @@ directory_handle_command_get(connection_t *conn, char *headers,
connection_write_to_buf(tmp, strlen(tmp), conn);
connection_write_to_buf(new_directory, dlen, conn);
tor_free(new_directory);
+ tor_free(url);
+ return 0;
}
/* we didn't recognize the url */