]> err.no Git - linux-2.6/commit
ACPI: fix potential memory leaks in driver/acpi/video.c
authorYu, Luming <luming.yu@intel.com>
Thu, 27 Apr 2006 09:25:00 +0000 (05:25 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 15 May 2006 06:05:48 +0000 (02:05 -0400)
commit973bf491a55b825740f0d8d300b50bcd3d6fb8de
treec01d8e5ff13020dfffe6d99248820f0a737eba4c
parentd8c3291c73b958243b33f8509d4507e76dafd055
ACPI: fix potential memory leaks in driver/acpi/video.c

acpi_video_bus_get_one_device() and other functions in driver/acpi/video.c do
not release allocated memory on remove and on the error path.

Signed-off-by: "Yu, Luming" <luming.yu@intel.com>
Signed-off-by: Vasily Averin <vvs@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c