fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / w1 / masters / matrox_w1.c
index 2788b8c..6f9d880 100644 (file)
@@ -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;