Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94202
b: refs/heads/master
c: 8224c3b
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Apr 28, 2008
1 parent 615ce7b commit 2390806
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 0e170c72c0c55bd78213a0f5053bd9a1dde403b7
refs/heads/master: 8224c3b166db81a8dbd128df455453897fe2b48b
6 changes: 4 additions & 2 deletions trunk/drivers/video/w100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,10 @@ int __init w100fb_probe(struct platform_device *pdev)
printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id);
return 0;
out:
fb_dealloc_cmap(&info->cmap);
kfree(info->pseudo_palette);
if (info) {
fb_dealloc_cmap(&info->cmap);
kfree(info->pseudo_palette);
}
if (remapped_fbuf != NULL)
iounmap(remapped_fbuf);
if (remapped_regs != NULL)
Expand Down

0 comments on commit 2390806

Please sign in to comment.