diff options
author | Oliver Neukum <[email protected]> | 2008-12-15 13:12:08 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2009-01-04 01:01:43 +0100 |
commit | b8a832b1c0a70531b4bd69a67aa0bf72f6f2dc34 (patch) | |
tree | 61ff346a6b1381d7d2e1cba33902fe3f5fe1c91c /lib/string_helpers.c | |
parent | 25e61613cf3ca7f6d5f89a707b20c9eed6b74455 (diff) |
HID: fix reference count leak hidraw
The hidraw subsystem has a bug that prevents the close syscall from ever
reaching the low level driver, leading to a resource leak. Fix by replacing
postdecrement with predecrement.
Signed-off-by: Oliver Neukum <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions