Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317679
b: refs/heads/master
c: 70fcd1b
h: refs/heads/master
i:
  317677: b9f76e2
  317675: d75d277
  317671: af7aea1
  317663: 1acb647
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent eefc687 commit c4bd14a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 464c94514c703bc61c3f85db397582aa8f17cf9d
refs/heads/master: 70fcd1b7a6be4f4f60f4d05beeb3976bb0eaf6a2
7 changes: 6 additions & 1 deletion trunk/drivers/staging/comedi/drivers/ni_670x.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,13 @@ static int ni_670x_attach(struct comedi_device *dev,
static void ni_670x_detach(struct comedi_device *dev)
{
struct ni_670x_private *devpriv = dev->private;
struct comedi_subdevice *s;

kfree(dev->subdevices[0].range_table_list);
if (dev->n_subdevices) {
s = dev->subdevices + 0;
if (s)
kfree(s->range_table_list);
}
if (devpriv && devpriv->mite)
mite_unsetup(devpriv->mite);
if (dev->irq)
Expand Down

0 comments on commit c4bd14a

Please sign in to comment.