]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
And a minor bugfix to the weaselhack
authorPeter Palfrader <peter@palfrader.org>
Thu, 15 Jun 2006 23:14:01 +0000 (23:14 +0000)
committerPeter Palfrader <peter@palfrader.org>
Thu, 15 Jun 2006 23:14:01 +0000 (23:14 +0000)
svn:r6629

src/or/directory.c

index c68e526e44c95ee830317d138b5afdbd935b03e8..6575426d216c772e538a63464bea0ebf58956be4 100644 (file)
@@ -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 */