浏览代码

Fix a typo in CodingStandards.md

Closes #24596.
teor 6 年之前
父节点
当前提交
7b59199663
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/HACKING/CodingStandards.md

+ 1 - 1
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.