diff options
author | Sean Christopherson <seanjc@google.com> | 2021-04-06 15:49:45 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 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 <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