git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
w1
/
masters
/
matrox_w1.c
diff --git
a/drivers/w1/masters/matrox_w1.c
b/drivers/w1/masters/matrox_w1.c
index
2788b8c
..
6f9d880
100644
(file)
--- a/
drivers/w1/masters/matrox_w1.c
+++ b/
drivers/w1/masters/matrox_w1.c
@@
-215,6
+215,8
@@
static int __devinit matrox_w1_probe(struct pci_dev *pdev, const struct pci_devi
return 0;
err_out_free_device:
+ if (dev->virt_addr)
+ iounmap(dev->virt_addr);
kfree(dev);
return err;