Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28026
b: refs/heads/master
c: 0a3b483
h: refs/heads/master
v: v3
  • Loading branch information
Amy Griffis authored and Al Viro committed Jun 20, 2006
1 parent fddc39a commit d648a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3c66251e573219a0532a5a07381b2f60a412d9eb
refs/heads/master: 0a3b483e83edb6aa6d3c49db70eeb6f1cd9f6c6b
4 changes: 2 additions & 2 deletions trunk/kernel/auditfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ static struct audit_rule *audit_krule_to_rule(struct audit_krule *krule)

rule = kmalloc(sizeof(*rule), GFP_KERNEL);
if (unlikely(!rule))
return ERR_PTR(-ENOMEM);
return NULL;
memset(rule, 0, sizeof(*rule));

rule->flags = krule->flags | krule->listnr;
Expand Down Expand Up @@ -322,7 +322,7 @@ static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule)

data = kmalloc(sizeof(*data) + krule->buflen, GFP_KERNEL);
if (unlikely(!data))
return ERR_PTR(-ENOMEM);
return NULL;
memset(data, 0, sizeof(*data));

data->flags = krule->flags | krule->listnr;
Expand Down

0 comments on commit d648a0c

Please sign in to comment.