summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-08-17 09:30:49 +0200
committerMarkus Elfring <elfring@users.sourceforge.net>2015-08-17 09:30:49 +0200
commitdc4ebc0787a299f064553e6d28a7f35574ce1c2a (patch)
tree1b939ceaa089de170270b26982088515fbade6d5 /src/core/unit.h
parentf00ef7f5d43980e82ed7caa1ac3530b3713cbd76 (diff)
Bug #944: Deletion of unnecessary checks before calls of the function "free"
The function "free" is documented in the way that no action shall occur for a passed null pointer. It is therefore not needed that a function caller repeats a corresponding check. http://stackoverflow.com/questions/18775608/free-a-null-pointer-anyway-or-check-first This issue was fixed by using the software Coccinelle 1.0.1.
Diffstat (limited to 'src/core/unit.h')
0 files changed, 0 insertions, 0 deletions