Skip to content
Commit c6fbb759 authored by Rafael Mendonca's avatar Rafael Mendonca Committed by Borislav Petkov
Browse files

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: fce96cf0 ("virt: Add SEV-SNP guest driver")
Signed-off-by: default avatarRafael Mendonca <rafaelmendsr@gmail.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221018015425.887891-1-rafaelmendsr@gmail.com
parent 9abf2313
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment