]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a typo in CodingStandards.md
authorteor <teor2345@gmail.com>
Tue, 12 Dec 2017 01:32:14 +0000 (12:32 +1100)
committerteor <teor2345@gmail.com>
Tue, 12 Dec 2017 01:32:50 +0000 (12:32 +1100)
Closes #24596.

doc/HACKING/CodingStandards.md

index 4b1bf4718c0387ec93c6de7205f40abfa208311d..79a6a9f0ceae4f5a7c8223761895a7397f996923 100644 (file)
@@ -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.