diff options
author | Fabiano Rosas <farosas@linux.ibm.com> | 2022-01-25 12:57:34 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-02-03 16:50:44 +1100 |
commit | 175be7e5800e2782a7e38ee9e1b64633494c4b44 (patch) | |
tree | 0f11ef9156f1605cf6a3802e502dccd9e0ec7124 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c5d0d77b45265905bba2ce6e63c9a02bbd11c43c (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions