Fix a typo in CodingStandards.md

Closes #24596.
This commit is contained in:
teor 2017-12-12 12:32:14 +11:00
parent 422ff8f922
commit 7b59199663
No known key found for this signature in database
GPG Key ID: 740D9E39025272A2
1 changed files with 1 additions and 1 deletions

View 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.