Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10070
b: refs/heads/master
c: 282c1f5
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Smalley authored and Linus Torvalds committed Oct 23, 2005
1 parent a753718 commit 7ad8ca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8766ce41018a0cb80fbe0ce7dbf747f357c752da
refs/heads/master: 282c1f5eba150d0b156ffa9e6b064f1d92f8315f
6 changes: 4 additions & 2 deletions trunk/security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,10 @@ void policydb_destroy(struct policydb *p)
}
if (lrt) kfree(lrt);

for (i = 0; i < p->p_types.nprim; i++)
ebitmap_destroy(&p->type_attr_map[i]);
if (p->type_attr_map) {
for (i = 0; i < p->p_types.nprim; i++)
ebitmap_destroy(&p->type_attr_map[i]);
}
kfree(p->type_attr_map);

return;
Expand Down

0 comments on commit 7ad8ca1

Please sign in to comment.