[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4251 [Tor Hidden Services]: memory leak for hidden service?
#4251: memory leak for hidden service?
------------------------------------+---------------------------------------
Reporter: arma | Owner: rransom
Type: defect | Status: closed
Priority: normal | Milestone: Tor: 0.2.2.x-final
Component: Tor Hidden Services | Version:
Resolution: fixed | Keywords:
Parent: | Points:
Actualpoints: |
------------------------------------+---------------------------------------
Changes (by nickm):
* status: needs_review => closed
* resolution: => fixed
Comment:
subtle! I'll merge it. One question: what is up with the
{{{
foo *p = thing->the_foo;
thing->the_foo = NULL;
foo_free(p);
}}}
pattern? Why not just
{{{
foo_free(thing->the_foo);
thing->the_foo = NULL;
}}}
?
It doesn't look bad to me, but I want to understand the point of it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4251#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs