Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsepol: avoid unnecessary memset(3) calls in hashtab
Use struct initialization with designators to skip unnecessary memset(3) calls. Since libsepol is not a security boundary uninitialized padding is not a concern. Also drop the dead assignment of a region to be free'd in the next line. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com>
- Loading branch information