[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8428: Fix a bogus free() in eventdns.c. Bug reported by xiando. (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8428: Fix a bogus free() in eventdns.c. Bug reported by xiando. (tor/trunk/src/or)
- From: nickm@xxxxxxxx
- Date: Tue, 19 Sep 2006 16:45:21 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 19 Sep 2006 16:45:28 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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;
}