diff options
author | Sean Christopherson <[email protected]> | 2021-04-06 15:49:45 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-04-21 12:20:05 -0400 |
commit | b61a9071dc72a3c709192c0c00ab87c2b3de1d94 (patch) | |
tree | cb691be65bdee6bcd2e46eb14c1799f73f927e17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a443def87d2698f4fa2d7b57e7f4e5f0f61671a (diff) |
crypto: ccp: Free SEV device if SEV init fails
Free the SEV device if later initialization fails. The memory isn't
technically leaked as it's tracked in the top-level device's devres
list, but unless the top-level device is removed, the memory won't be
freed and is effectively leaked.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Brijesh Singh <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions