Skip to content
Commit 7363cfc8 authored by Jesper Juhl's avatar Jesper Juhl Committed by Dmitry Torokhov
Browse files

Input: sidewinder - fix memory leak



In sw_connect we leak 'buf' and 'idbuf' when we do not leave via one of
the fail* labels. This was spotted by the coverity checker.

Patch is compile tested only due to lack of hardware.

Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent f39b25be
Loading
Loading
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