[tor-bugs] #26435 [Core Tor/Tor]: memory leak in parse_protocol_list
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 20 22:59:19 UTC 2018
#26435: memory leak in parse_protocol_list
-------------------------------------+------------------------------------
Reporter: arma | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 033-backport regression | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+------------------------------------
Comment (by arma):
Looks like I also want a
{{{
SMARTLIST_FOREACH(protocols, proto_entry_t *, ent,
proto_entry_free(ent));
}}}
in there. Probably we want a protocol_list_free or something to make it
cleaner.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26435#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list