aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/avtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/ss/avtab.c')
-rw-r--r--security/selinux/ss/avtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/avtab.c b/security/selinux/ss/avtab.c
index e8ae812d6af7..1215b8e47dba 100644
--- a/security/selinux/ss/avtab.c
+++ b/security/selinux/ss/avtab.c
@@ -229,7 +229,7 @@ void avtab_destroy(struct avtab *h)
229 229
230 for (i = 0; i < h->nslot; i++) { 230 for (i = 0; i < h->nslot; i++) {
231 cur = h->htable[i]; 231 cur = h->htable[i];
232 while (cur != NULL) { 232 while (cur) {
233 temp = cur; 233 temp = cur;
234 cur = cur->next; 234 cur = cur->next;
235 kmem_cache_free(avtab_node_cachep, temp); 235 kmem_cache_free(avtab_node_cachep, temp);