diff options
author | Uwe Kleine-König <[email protected]> | 2018-04-16 13:17:53 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2018-04-27 00:43:03 +0200 |
commit | f001cc351ad3309ec8736c374e90e5a4bc472d41 (patch) | |
tree | bda50b5256547fc45dfabf35f0c2c99d028e5c07 /lib/memory-notifier-error-inject.c | |
parent | ab3dbcf78f60f46d6a0ad63b1f4b690b7a427140 (diff) |
gpio: fix error path in lineevent_create
If gpiod_request() fails the cleanup must not call gpiod_free().
Cc: [email protected]
Fixes: 61f922db7221 ("gpio: userspace ABI for reading GPIO line events")
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions