Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7213
b: refs/heads/master
c: fef6ec8
h: refs/heads/master
i:
  7211: 018a216
v: v3
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Sep 5, 2005
1 parent 4b07e8c commit 759235b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: ceaeade1f94c0a1c0163906ceeaede6493a9715e
refs/heads/master: fef6ec8dd96205fb22e3cfe2e4abd69d89413631
6 changes: 2 additions & 4 deletions trunk/drivers/base/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,8 @@ static void class_dev_release(struct kobject * kobj)

pr_debug("device class '%s': release.\n", cd->class_id);

if (cd->devt_attr) {
kfree(cd->devt_attr);
cd->devt_attr = NULL;
}
kfree(cd->devt_attr);
cd->devt_attr = NULL;

if (cls->release)
cls->release(cd);
Expand Down

0 comments on commit 759235b

Please sign in to comment.