[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Freeing the same variable twice in rapid succession can som...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Freeing the same variable twice in rapid succession can som...
- From: nickm@seul.org (Nick Mathewson)
- Date: Wed, 7 Apr 2004 18:25:40 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 07 Apr 2004 18:25:57 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv8134/src/or
Modified Files:
routerlist.c
Log Message:
Freeing the same variable twice in rapid succession can sometimes cause a double-free
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- routerlist.c 7 Apr 2004 22:18:57 -0000 1.58
+++ routerlist.c 7 Apr 2004 22:25:37 -0000 1.59
@@ -400,7 +400,6 @@
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, r,
routerinfo_free(r));
smartlist_free(rl->routers);
- tor_free(rl->routers);
tor_free(rl->software_versions);
tor_free(rl);
}