diff options
author | 2021-04-06 15:49:45 -0700 | |
---|---|---|
committer | 2021-04-21 12:20:05 -0400 | |
commit | b61a9071dc72a3c709192c0c00ab87c2b3de1d94 (patch) | |
tree | cb691be65bdee6bcd2e46eb14c1799f73f927e17 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: SVM: Add KVM_SEV_RECEIVE_FINISH command (diff) | |
download | linux-dev-b61a9071dc72a3c709192c0c00ab87c2b3de1d94.tar.xz linux-dev-b61a9071dc72a3c709192c0c00ab87c2b3de1d94.zip |
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 <seanjc@google.com>
Message-Id: <20210406224952.4177376-2-seanjc@google.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions