summaryrefslogtreecommitdiff
path: root/cpio
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2019-02-04 18:38:18 +0100
committerMarkus Elfring <elfring@users.sourceforge.net>2019-02-04 18:38:18 +0100
commit429189f00d9deb760cf2c271dc363f4271e0cf73 (patch)
tree452b7c51aaf48b2a7a308c75fd765de8c8c70c2e /cpio
parent4bc5892128a042780f167ac35aa72f63c426f3b7 (diff)
downloadlibarchive-429189f00d9deb760cf2c271dc363f4271e0cf73.tar.gz
Bug #1128: 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. https://stackoverflow.com/questions/18775608/free-a-null-pointer-anyway-or-check-first This issue was fixed by using the software “Coccinelle 1.0.7”. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Diffstat (limited to 'cpio')
0 files changed, 0 insertions, 0 deletions