Fabiano Rosas 175be7e580 KVM: PPC: Book3S HV: Free allocated memory if module init fails
The module's exit function is not called when the init fails, we need
to do cleanup before returning.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125155735.1018683-4-farosas@linux.ibm.com
2022-02-03 16:50:44 +11:00
..
2022-01-21 13:13:35 +02:00
2022-01-21 13:13:35 +02:00
2022-01-14 15:17:26 +01:00
2022-01-23 06:20:44 +02:00
2022-01-14 15:17:26 +01:00