Skip to content
Commit 8877ecb0 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Guenter Roeck
Browse files

hwmon: (aquacomputer_d5next) Fix an error handling path in aqc_probe()



If no memory can be allocated, some resources still need to be released as
already done in the other error handling paths.

Fixes: 752b9279 ("hwmon: (aquacomputer_d5next) Add support for Aquacomputer Octo")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/be6b955d50de140fcc96bd116150b435021bf567.1653225250.git.christophe.jaillet@wanadoo.fr


Reviewed-by: default avatarAleksa Savic <savicaleksa83@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 5ab312b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment