Sfoglia il codice sorgente

stop leaking that

svn:r5969
Roger Dingledine 19 anni fa
parent
commit
fdf18fbbdb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/or/directory.c

+ 1 - 0
src/or/directory.c

@@ -1408,6 +1408,7 @@ directory_handle_command_get(connection_t *conn, char *headers,
     }
     }
 
 
     note_request(url, dlen);
     note_request(url, dlen);
+    tor_free(url);
 
 
     debug(LD_DIRSERV,"Dumping %sdirectory to client.",
     debug(LD_DIRSERV,"Dumping %sdirectory to client.",
           deflated?"deflated ":"");
           deflated?"deflated ":"");