tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 632d6cbc430eb1d5d764321fb2a6e6c27fe849e3
parent a6587e9070e17f44025be1d312e1fb628cbfa3f3
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 12 Dec 2017 09:07:49 -0500

Merge remote-tracking branch 'teor/doc24596'

Diffstat:
Mdoc/HACKING/CodingStandards.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md @@ -358,7 +358,7 @@ Don't call this `abc_free_()` function directly -- instead, wrap it in a macro called `abc_free()`, using the `FREE_AND_NULL` macro: void abc_free_(abc_t *obj); - #define abc_free(obj) FREE_AND_NULL(abc_t, abc_free_, (abc)) + #define abc_free(obj) FREE_AND_NULL(abc_t, abc_free_, (obj)) This macro will free the underlying `abc_t` object, and will also set the object pointer to NULL.