summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-19 20:45:20 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-19 20:45:20 +0000
commit4bc42f4c18ba4dc769ac63e6494a743734d603a9 (patch)
treed0c218a605c44db04e20fb46c795592bd211f081
parent93beeac01d27c3150cc998331ab79354c311bd8f (diff)
downloadtor-4bc42f4c18ba4dc769ac63e6494a743734d603a9.tar.gz
tor-4bc42f4c18ba4dc769ac63e6494a743734d603a9.zip
Fix a bogus free() in eventdns.c. Bug reported by xiando.
svn:r8428
-rw-r--r--src/or/eventdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 49fbe05456..2a5697039d 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1566,7 +1566,7 @@ request_new(int type, const char *name, int flags, eventdns_callback_type callba
return req;
err1:
- free(req->request);
+ free(req);
return NULL;
}