Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pm2fb: free cmap memory on module remove

Release cmap memory allocated in the probe function.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Krzysztof Helt and committed by
Linus Torvalds
27aa069a 1d96469a

+1
+1
drivers/video/pm2fb.c
··· 1746 1746 release_mem_region(fix->mmio_start, fix->mmio_len); 1747 1747 1748 1748 pci_set_drvdata(pdev, NULL); 1749 + fb_dealloc_cmap(&info->cmap); 1749 1750 kfree(info->pixmap.addr); 1750 1751 kfree(info); 1751 1752 }