]> gitweb.michael.orlitzky.com - apply-default-acl.git/commit
src/libadacl.c: remove two NULL checks around acl_free() calls.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Mar 2018 13:52:19 +0000 (08:52 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Mar 2018 13:52:19 +0000 (08:52 -0500)
commita940e75467931de75e969b3de97f21698ec6fa08
treef07fdf17751e58441bf8eaf2c0441550709eecb0
parentaf1cf77f3c97730a0eb846f7c8f71d1d235c67ee
src/libadacl.c: remove two NULL checks around acl_free() calls.

The acl_free() function will return ACL_ERROR and set errno to EINVAL
if we pass it a null pointer; but aside from that, nothing bad
happens, and removing the checks makes the code marginally cleaner.
src/libadacl.c