# Re: \[PATCH v4\] HID: lg4ff: Remove sysfs iface before deallocating memory

- From: Jiri Kosina \<hidden\>
- Date: 2012-04-03 02:12:33 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/04/8919220
- Thread: https://ratatoskr.run/linux-input/2012/03/8919191/t.md

```text
On Sat, 31 Mar 2012, Michal Malý wrote:

> Hi,
> 
> This patch fixes a possible race condition caused by the sysfs
> interface being removed after the memory used by the interface
> was already kfree'd.
> Please note that this patch depends on "hid-lg: Allow for custom
> device-specific properties to be stored in private drv data" because
> it also fixes a tiny glitch - a leftover #include in the hid-lg.h

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
