Browse Source

And a minor bugfix to the weaselhack

svn:r6629
Peter Palfrader 19 years ago
parent
commit
2ff24dbc26
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/directory.c

+ 2 - 0
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 */