[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] And a minor bugfix to the weaselhack



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv8195/src/or

Modified Files:
	directory.c 
Log Message:
And a minor bugfix to the weaselhack

Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -p -d -r1.374 -r1.375
--- directory.c	15 Jun 2006 22:59:07 -0000	1.374
+++ directory.c	15 Jun 2006 23:14:01 -0000	1.375
@@ -1671,6 +1671,8 @@ directory_handle_command_get(connection_
     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 */