diff options
-rw-r--r-- | drivers/hid/hid-input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 7f552bfad32c..f53911dcdc2d 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -928,6 +928,7 @@ int hidinput_connect(struct hid_device *hid, unsigned int force) | |||
928 | return 0; | 928 | return 0; |
929 | 929 | ||
930 | out_cleanup: | 930 | out_cleanup: |
931 | list_del(&hidinput->list); | ||
931 | input_free_device(hidinput->input); | 932 | input_free_device(hidinput->input); |
932 | kfree(hidinput); | 933 | kfree(hidinput); |
933 | out_unwind: | 934 | out_unwind: |