OSDN Git Service

input/hog: Fix not reseting queue to NULL after destroying it
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 13 Nov 2015 15:48:48 +0000 (17:48 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 13 Nov 2015 15:51:17 +0000 (17:51 +0200)
commitb33cb20a2b2fd45654937979d045321a115431f9
tree322dacb79d1fbfa0b7dfc55669de9353d7e8c16b
parent4b5f85c93896a89a112b139db23ddd97a1bc1654
input/hog: Fix not reseting queue to NULL after destroying it

This can cause crashes as the data pointed by devices if a new device is
probed it would most likely access invalid memory.
profiles/input/hog.c