diff options
author | Fabiano Rosas <[email protected]> | 2022-01-25 12:57:34 -0300 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-02-03 16:50:44 +1100 |
commit | 175be7e5800e2782a7e38ee9e1b64633494c4b44 (patch) | |
tree | 0f11ef9156f1605cf6a3802e502dccd9e0ec7124 /lib/test_fortify/write_overflow-strlcpy-src.c | |
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 <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions