Commit 27aa069a authored by Krzysztof Helt's avatar Krzysztof Helt Committed by Linus Torvalds

pm2fb: free cmap memory on module remove

Release cmap memory allocated in the probe function.
Signed-off-by: default avatarKrzysztof Helt <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1d96469a
......@@ -1746,6 +1746,7 @@ static void __devexit pm2fb_remove(struct pci_dev *pdev)
release_mem_region(fix->mmio_start, fix->mmio_len);
pci_set_drvdata(pdev, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment