Skip to content
Snippets Groups Projects
Commit 57961e3b authored by Ferruh Yigit's avatar Ferruh Yigit Committed by Dmitry Torokhov
Browse files

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: default avatarFerruh Yigit <fery@cypress.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 9ff9f6da
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment