diff options
author | Ferruh Yigit <fery@cypress.com> | 2013-07-05 01:02:45 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-07-05 01:05:50 +0400 |
commit | 57961e3ba72f4a8a1aa52e978020ecc2ca03a79f (patch) | |
tree | 1b77eb5a6649dd9a09cf8f5b28ec926a73638448 /drivers/input/touchscreen/cyttsp_i2c_common.c | |
parent | 9ff9f6dab781371ccb658f7a8567223da3267da3 (diff) | |
download | linux-57961e3ba72f4a8a1aa52e978020ecc2ca03a79f.tar.xz |
Input: cyttsp4 - kfree xfer_buf on error path in probe()
If probe() fails after cd->xfer_buf allocated, it will not freed.
Added kfree(cd->xfer_buf) with and error label.
Signed-off-by: Ferruh Yigit <fery@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/cyttsp_i2c_common.c')
0 files changed, 0 insertions, 0 deletions