fbdev: sh_mobile_hdmi: properly clean up modedb on monitor unplug
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 4 Nov 2010 11:05:55 +0000 (11:05 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 10 Nov 2010 07:53:12 +0000 (16:53 +0900)
Even though this is not a problem currently, it is better to clear the freed
pointer and nullify the length of the freed memory.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found