Parent: 86fbb15cb7ff82e02674713013141a3bd1ead12d
Author: Stéphane Cerveau <scerveau@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-04-21 00:05:48
Tree: 6f38f496f05c64df06ea1ec2f7cf95a470387a91
add hog ref before adding to instances To avoid a double hog free, need to add a ref when adding the hog to the slist. This bug has been reproduced with gamepad-8718 which was connecting/disconnecting frantically. Fix also a typo in the method hog_attach_instance
Diffstat
| M | profiles/input/hog-lib.c | | | 6 | +++- - - |
1 files changed, 3 insertions(+), 3 deletions(-)