[or-cvs] fix the assert bug reported by bassclef at 163.com
Roger Dingledine
arma at seul.org
Sun Jan 2 06:16:48 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
routerparse.c
Log Message:
fix the assert bug reported by bassclef at 163.com
Index: routerparse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- routerparse.c 4 Dec 2004 01:23:04 -0000 1.94
+++ routerparse.c 2 Jan 2005 06:16:46 -0000 1.95
@@ -546,8 +546,10 @@
goto done;
err:
- running_routers_free(new_list);
- new_list = NULL;
+ if (new_list) {
+ running_routers_free(new_list);
+ new_list = NULL;
+ }
done:
if (declared_key) crypto_free_pk_env(declared_key);
if (tokens) {
More information about the tor-commits
mailing list