diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-02 20:32:58 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-07-02 20:39:24 -0700 |
commit | 394fc05b7967a043e26b4343011a319390801c8b (patch) | |
tree | 99b636a26f41ca30f4f14db3b1c0e503c2e1ed77 /drivers/hid/hid-apple.c | |
parent | Input: cyttsp4 - silence NULL dereference warning (diff) | |
download | linux-dev-394fc05b7967a043e26b4343011a319390801c8b.tar.xz linux-dev-394fc05b7967a043e26b4343011a319390801c8b.zip |
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>
Diffstat (limited to 'drivers/hid/hid-apple.c')
0 files changed, 0 insertions, 0 deletions