Marco La Porta
067f1293cc
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..
[dilinger@debian.org: dropped unnecessary code and clean up patch]
[dilinger@debian.org: add error checking and handling]
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-11 14:25:34 -08:00
..
2009-02-07 01:34:56 -05:00
2009-01-08 16:29:41 +00:00
2009-02-03 16:53:56 -08:00
2009-02-08 17:00:02 -08:00
2009-01-28 15:55:48 -08:00
2009-01-16 16:15:13 +11:00
2008-12-29 08:28:43 +01:00
2009-02-05 12:56:48 -08:00
2009-01-02 11:44:09 -08:00
2009-02-05 12:25:26 -05:00
2008-12-30 18:48:01 -05:00
2008-12-25 11:02:33 +11:00
2009-02-02 23:26:57 -08:00
2009-01-12 20:56:42 +01:00
2009-01-19 15:36:21 -07:00
2009-01-28 17:15:52 +11:00
2009-02-01 11:17:24 +01:00
2009-01-27 02:15:47 -05:00
2009-01-29 18:04:43 -08:00
2009-02-09 08:57:29 -08:00
2009-01-29 11:23:12 +01:00
2009-02-05 12:56:47 -08:00
2009-01-26 21:19:53 +01:00
2009-02-03 16:53:56 -08:00
2009-01-06 10:44:39 -08:00
2009-02-06 08:48:16 -08:00
2009-01-16 15:05:54 -08:00
2009-01-11 01:34:25 +01:00
2009-02-08 17:00:49 -08:00
2009-01-15 16:39:40 -08:00
2009-01-30 11:34:11 +10:30
2009-01-07 11:31:52 -08:00
2009-02-06 18:02:46 +11:00
2009-02-01 10:41:02 -02:00
2009-01-09 16:54:41 -08:00
2009-01-13 10:36:02 -06:00
2009-01-15 11:50:58 +01:00
2009-02-05 12:56:49 -08:00
2009-02-02 20:57:07 +01:00
2009-02-03 16:52:10 -08:00
2009-02-10 11:48:11 -08:00
2009-01-09 15:49:06 -07:00
2009-01-17 17:26:39 +01:00
2009-01-29 18:19:29 -08:00
2009-01-06 15:59:31 -08:00
2009-02-11 08:23:22 -08:00
2009-01-13 14:47:59 +11:00
2009-02-07 01:34:56 -05:00
2009-01-09 03:39:43 -05:00
2009-01-26 02:09:26 +03:00
2009-01-16 16:15:14 +11:00
2009-01-06 15:59:28 -08:00
2009-01-30 21:50:49 +00:00
2009-02-11 14:25:34 -08:00
2009-02-11 10:37:40 +01:00
2009-01-06 13:20:38 -08:00
2009-01-25 08:14:53 -06:00
2009-01-30 08:40:54 -08:00
2008-12-16 16:40:32 +09:00
2009-01-26 21:19:54 +01:00
2009-02-09 11:26:18 -08:00
2009-01-06 10:44:37 -08:00
2009-01-06 10:44:44 -08:00
2009-02-09 11:19:49 -08:00
2009-01-23 12:57:20 +00:00
2009-02-11 14:25:34 -08:00
2009-02-02 19:17:56 -08:00
2009-01-08 08:31:14 -08:00
2009-01-24 16:48:42 +00:00
2009-01-29 13:20:36 +01:00
2009-01-12 20:56:43 +01:00
2008-12-19 04:42:32 -05:00
2009-01-09 04:56:56 -05:00