diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-05-22 15:14:23 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-22 12:25:55 -0700 |
commit | 8877ecb0fc8d7662218a8e7ebb0650f320467935 (patch) | |
tree | 581038cd05d1753cbe042cc46162c9d7a625756f /lib | |
parent | 5ab312b3a8fef467e807e8d7672e65cabe2376fd (diff) |
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: 752b927951ea ("hwmon: (aquacomputer_d5next) Add support for Aquacomputer Octo")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/be6b955d50de140fcc96bd116150b435021bf567.1653225250.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Aleksa Savic <savicaleksa83@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions