[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11893: fix two instances of double-frees. may fix bug 527. (tor/trunk/src/or)
Author: arma
Date: 2007-10-12 05:09:46 -0400 (Fri, 12 Oct 2007)
New Revision: 11893
Modified:
tor/trunk/src/or/directory.c
Log:
fix two instances of double-frees. may fix bug 527.
Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c 2007-10-12 07:57:29 UTC (rev 11892)
+++ tor/trunk/src/or/directory.c 2007-10-12 09:09:46 UTC (rev 11893)
@@ -2359,12 +2359,10 @@
smartlist_free(fps);
} else {
write_http_status_line(conn, 400, "Bad request");
- smartlist_free(certs);
goto keys_done;
}
if (!smartlist_len(certs)) {
write_http_status_line(conn, 404, "Not found");
- smartlist_free(certs);
goto keys_done;
}
SMARTLIST_FOREACH(certs, authority_cert_t *, c,