]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/backlight/da903x.c
drivers/video/backlight/da903x.c: introduce missing kfree
[linux-2.6-omap-h63xx.git] / drivers / video / backlight / da903x.c
index 242c38250166d7edac8f3a600599191d8322ae40..75388b959439b9cb07790ec4e0c7d127c26029a2 100644 (file)
@@ -119,6 +119,7 @@ static int da903x_backlight_probe(struct platform_device *pdev)
        default:
                dev_err(&pdev->dev, "invalid backlight device ID(%d)\n",
                                pdev->id);
+               kfree(data);
                return -EINVAL;
        }