[or-cvs] r8428: Fix a bogus free() in eventdns.c. Bug reported by xiando. (tor/trunk/src/or)
nickm at seul.org
nickm at seul.org
Tue Sep 19 20:45:21 UTC 2006
Author: nickm
Date: 2006-09-19 16:45:20 -0400 (Tue, 19 Sep 2006)
New Revision: 8428
Modified:
tor/trunk/src/or/eventdns.c
Log:
Fix a bogus free() in eventdns.c. Bug reported by xiando.
Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c 2006-09-19 20:41:31 UTC (rev 8427)
+++ tor/trunk/src/or/eventdns.c 2006-09-19 20:45:20 UTC (rev 8428)
@@ -1566,7 +1566,7 @@
return req;
err1:
- free(req->request);
+ free(req);
return NULL;
}
More information about the tor-commits
mailing list