Searched hist:"394 fc05b7967a043e26b4343011a319390801c8b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | diff 394fc05b7967a043e26b4343011a319390801c8b Tue Jul 02 22:32:58 CDT 2013 Dan Carpenter <dan.carpenter@oracle.com> Input: cyttsp4 - leak on error path in probe()
We leak "cd" if the cd->xfer_buf allocation fails. It was weird to "goto error_gpio_irq" so I changed the label name. (Label names should reflect the label location not the goto location otherwise you get an "all roads lead to Rome problem").
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|