Fix memory leak. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> --- a/drivers/input/misc/apanel.c 2007-11-20 06:03:06.000000000 -0800 +++ b/drivers/input/misc/apanel.c 2007-11-20 06:04:52.000000000 -0800 @@ -176,6 +176,7 @@ static int apanel_detach_client(struct i input_unregister_polled_device(ap->ipdev); i2c_detach_client(&ap->client); + input_free_polled_device(ap->ipdev); return 0; } -- - To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html