Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41946
b: refs/heads/master
c: 6cbda6b
h: refs/heads/master
v: v3
  • Loading branch information
James Morris authored and David S. Miller committed Dec 3, 2006
1 parent ba5c490 commit 93f82b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 484b366932be0b73a22c74a82748ca10a721643e
refs/heads/master: 6cbda6b6e2e2a0a84c0fcda8ea262c16d7a63fc8
6 changes: 3 additions & 3 deletions trunk/security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ static int common_destroy(void *key, void *datum, void *p)
return 0;
}

static int class_destroy(void *key, void *datum, void *p)
static int cls_destroy(void *key, void *datum, void *p)
{
struct class_datum *cladatum;
struct constraint_node *constraint, *ctemp;
Expand Down Expand Up @@ -566,7 +566,7 @@ static int cat_destroy(void *key, void *datum, void *p)
static int (*destroy_f[SYM_NUM]) (void *key, void *datum, void *datap) =
{
common_destroy,
class_destroy,
cls_destroy,
role_destroy,
type_destroy,
user_destroy,
Expand Down Expand Up @@ -1124,7 +1124,7 @@ static int class_read(struct policydb *p, struct hashtab *h, void *fp)
out:
return rc;
bad:
class_destroy(key, cladatum, NULL);
cls_destroy(key, cladatum, NULL);
goto out;
}

Expand Down

0 comments on commit 93f82b6

Please sign in to comment.