[tor-bugs] #24337 [Core Tor/Tor]: Every _free() function should be a macro that sets the corresponding pointer to NULL.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 20 17:22:23 UTC 2017


#24337: Every _free() function should be a macro that sets the corresponding
pointer to NULL.
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  enhancement   |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 (On IRC, catalyst suggested that we should globally upcase these macros
 and any other magic macros that don't behave like C functions.  I agree;
 let's do that in another ticket.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24337#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list