diff options
author | Marco La Porta <[email protected]> | 2009-02-11 13:04:20 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-11 14:25:34 -0800 |
commit | 067f1293cc5916f8d88b602beeb8787d58515608 (patch) | |
tree | 1077d6997716b33ab203ff206e5b7df09ed57d70 /net/lapb/lapb_timer.c | |
parent | 57f63bc8fe79e6598e7253f10f53f58c9fdc57be (diff) |
lxfb: properly alloc cmap in all cases and don't leak the memory
We weren't properly allocating the cmap for depths greater than 8bpp,
which caused pain for things like DirectFB. Also, we never freed the cmap
memory upon module unload..
[[email protected]: dropped unnecessary code and clean up patch]
[[email protected]: add error checking and handling]
Signed-off-by: Andres Salomon <[email protected]>
Cc: Jordan Crouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions