X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Facpi%2Fvideo.c;h=e7e9a693953a7bb58f37a0b446c9f7e6942c74b8;hb=55b4d6a52195a8f277ffddf755ddaff359878f41;hp=86531ab4ee5517dcf86676641fcae415cad4f980;hpb=5b542e4422766d644ca303b8a47b27ec9eeeef3a;p=linux-2.6 diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 86531ab4ee..e7e9a69395 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -1645,7 +1645,7 @@ static int acpi_video_bus_put_devices(struct acpi_video_bus *video) printk(KERN_WARNING PREFIX "hhuuhhuu bug in acpi video driver.\n"); - if (data->brightness); + if (data->brightness) kfree(data->brightness->levels); kfree(data->brightness); kfree(data);