commit | f237f9f0b4be230da14c9958da8cd3fb4858df12 | [log] [tgz] |
---|---|---|
author | Ross Lagerwall <ross.lagerwall@citrix.com> | Wed Mar 13 17:10:19 2024 +0000 |
committer | Stefan Berger <stefanb@us.ibm.com> | Thu Mar 14 08:45:35 2024 -0400 |
tree | 123aa6da0ff57983a0d78cc960de16511efd3f62 | |
parent | 8655c6f8ecb55d1bd9faf3c1043add577a603297 [diff] |
swtpm: Fix double free in error path On error, the caller will call options_value_free() so don't free ovs->options to avoid a double free. Fixes: c94a1c4cbdae ("swtpm: Fix memory leak in case realloc fails") Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>