diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-01-20 03:08:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-30 10:32:27 +0100 |
| commit | 16414341b0dd58b650b5df45c79115bc5977bb76 (patch) | |
| tree | c816d1f4fc98d6d0407d65960e69cdccf13c157c /include/net/aligned_data.h | |
| parent | 919f27eb24b0e82ea232379bec40a5a52e3483d9 (diff) | |
gpio: cdev: Fix resource leaks on errors in lineinfo_changed_notify()
commit 70b3c280533167749a8f740acaa8ef720f78f984 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
