summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-28 19:10:53 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-28 19:10:53 +0000
commit4cb24353887991d2bc6c195028406167af4ba779 (patch)
treee8161a4d9ba25a12df2cbc5f9c255740126b7432
parented32d85a04aea72d598232a1ac78b3496d558dcb (diff)
downloadtor-4cb24353887991d2bc6c195028406167af4ba779.tar.gz
tor-4cb24353887991d2bc6c195028406167af4ba779.zip
aaand another leak. Oops, I guess I lied to weasel when I told him there was no leak here.
svn:r5329
-rw-r--r--src/or/dirserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 7bfb8db381..c2a3679383 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -455,6 +455,7 @@ dirserv_add_descriptor(const char *desc, const char **msg)
"Not replacing descriptor from '%s'; differences are cosmetic.",
ri->nickname);
*msg = "Not replacing router descriptor; no information has changed since the last one with this identity.";
+ routerinfo_free(ri);
return 0;
}
if ((r = router_add_to_routerlist(ri, msg, 0))<0) {