summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-04-20 20:40:29 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-04-20 14:05:48 -0700
commit71b5dbc7049e718f36d1ff0a4332cb79f2ccb654 (patch)
tree6f38f496f05c64df06ea1ec2f7cf95a470387a91 /test
parent86fbb15cb7ff82e02674713013141a3bd1ead12d (diff)
downloadbluez-71b5dbc7049e718f36d1ff0a4332cb79f2ccb654.tar.gz
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 (limited to 'test')
0 files changed, 0 insertions, 0 deletions