# Re: \[PATCH v5\] Input: i8042 add i8042\_is\_mr\_coffee() helper to avoid refconut leak

- From: Pavel Machek \<hidden\>
- Date: 2018-12-27 22:43:49 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2018/12/5471835
- Thread: https://ratatoskr.run/linux-input/2018/12/5464398/t.md

```text
On Sat 2018-12-15 04:08:46, Yangtao Li wrote:
> of_find_node_by_path() acquires a reference to the node returned by
> it and that reference needs to be dropped by its caller. Add
> i8042_is_mr_coffee() helper to avoid refconut leak.

refconut->refcount, here and in subject.
									Pavel
									
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2018/12/5471835/attachment/0) (application/pgp-signature, 181 bytes)
