commit | c6fbb759d68898aad40e57d09ed18df6094a1874 | [log] [tgz] |
---|---|---|
author | Rafael Mendonca <rafaelmendsr@gmail.com> | Mon Oct 17 22:54:25 2022 -0300 |
committer | Borislav Petkov <bp@suse.de> | Thu Oct 27 14:24:18 2022 +0200 |
tree | 121e687d0c69154b23a7c0566b3fd7350c3cfaeb | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 [diff] |
virt/sev-guest: Remove unnecessary free in init_crypto() If the memory allocation for the auth tag fails, then there is no need to free it. Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver") Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20221018015425.887891-1-rafaelmendsr@gmail.com