diff options
author | Javier Carrasco <[email protected]> | 2024-10-19 22:27:03 +0200 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2024-11-14 19:52:14 +0100 |
commit | 07593293ffabba14125c8998525adde5a832bfa3 (patch) | |
tree | 89dfd3fdb7d95a730f1449560c3eecbb581f0fe8 /lib/crypto/mpi/mpiutil.c | |
parent | 4617fb8fc15effe8eda4dd898d4e33eb537a7140 (diff) |
mtd: ubi: fix unreleased fwnode_handle in find_volume_fwnode()
The 'fw_vols' fwnode_handle initialized via
device_get_named_child_node() requires explicit calls to
fwnode_handle_put() when the variable is no longer required.
Add the missing calls to fwnode_handle_put() before the function
returns.
Cc: [email protected]
Fixes: 51932f9fc487 ("mtd: ubi: populate ubi volume fwnode")
Signed-off-by: Javier Carrasco <[email protected]>
Reviewed-by: Zhihao Cheng <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions