Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141491
b: refs/heads/master
c: dedd132
h: refs/heads/master
i:
  141489: 74b3d8c
  141487: abed71c
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 825ade4 commit ebf70fa
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: 51b713a684d403bd672b3e4cac55db43dc5cca2d
refs/heads/master: dedd1325f1d53e2a2604457c4b3af9e62dde5001
6 changes: 2 additions & 4 deletions trunk/drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ static void cleanup_device(comedi_device *dev)
dev->subdevices = NULL;
dev->n_subdevices = 0;
}
if (dev->private) {
kfree(dev->private);
dev->private = NULL;
}
kfree(dev->private);
dev->private = NULL;
dev->driver = 0;
dev->board_name = NULL;
dev->board_ptr = NULL;
Expand Down

0 comments on commit ebf70fa

Please sign in to comment.