diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-01-20 03:08:56 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-01-20 09:52:31 +0100 |
| commit | 70b3c280533167749a8f740acaa8ef720f78f984 (patch) | |
| tree | 5067bea57e9cb1ab0740f0a58f828ff88ec00702 /include/uapi/linux/errqueue.h | |
| parent | faff6846474e99295a139997f93ef6db222b5cee (diff) | |
gpio: cdev: Fix resource leaks on errors in lineinfo_changed_notify()
On error handling paths, lineinfo_changed_notify() doesn't free the
allocated resources which results leaks. Fix it.
Cc: stable@vger.kernel.org
Fixes: d4cd0902c156 ("gpio: cdev: make sure the cdev fd is still active before emitting events")
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20260120030857.2144847-1-tzungbi@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
