mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix another coverity-spotted memleak
This commit is contained in:
parent
3ae5bee303
commit
7681e355ed
@ -1,3 +1,8 @@
|
|||||||
|
Changes in version 0.2.2.10-alpha - 2010-??-??
|
||||||
|
o Minor bugfixes:
|
||||||
|
- Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
|
||||||
|
Bugfix on 0.2.2.9-alpha.
|
||||||
|
|
||||||
Changes in version 0.2.2.9-alpha - 2010-02-22
|
Changes in version 0.2.2.9-alpha - 2010-02-22
|
||||||
o Directory authority changes:
|
o Directory authority changes:
|
||||||
- Change IP address for dannenberg (v3 directory authority), and
|
- Change IP address for dannenberg (v3 directory authority), and
|
||||||
|
@ -2121,6 +2121,8 @@ handle_control_extendcircuit(control_connection_t *conn, uint32_t len,
|
|||||||
if (!zero_circ && !(circ = get_circ(smartlist_get(args,0)))) {
|
if (!zero_circ && !(circ = get_circ(smartlist_get(args,0)))) {
|
||||||
connection_printf_to_buf(conn, "552 Unknown circuit \"%s\"\r\n",
|
connection_printf_to_buf(conn, "552 Unknown circuit \"%s\"\r\n",
|
||||||
(char*)smartlist_get(args, 0));
|
(char*)smartlist_get(args, 0));
|
||||||
|
SMARTLIST_FOREACH(args, char *, cp, tor_free(cp));
|
||||||
|
smartlist_free(args);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user