aboutsummaryrefslogtreecommitdiff
path: root/doc/HACKING
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-12-12 12:32:14 +1100
committerteor <teor2345@gmail.com>2017-12-12 12:32:50 +1100
commit7b591996636052dc6d58ff8bd78b48fd3394115a (patch)
treed644891b0a3509121763a50c4f81a517ef93ff30 /doc/HACKING
parent422ff8f922d2df7b90aba3e6e16c41100387b282 (diff)
downloadtor-7b591996636052dc6d58ff8bd78b48fd3394115a.tar.gz
tor-7b591996636052dc6d58ff8bd78b48fd3394115a.zip
Fix a typo in CodingStandards.md
Closes #24596.
Diffstat (limited to 'doc/HACKING')
-rw-r--r--doc/HACKING/CodingStandards.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md
index 4b1bf4718c..79a6a9f0ce 100644
--- 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.