Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/62996 )
Change subject: dmi.c: Ensure g_has_dmi_support is default on shutdown ......................................................................
dmi.c: Ensure g_has_dmi_support is default on shutdown
Ensure the g_has_dmi_support has the default state of false after the life-time has expired.
BUG=none TEST=builds
Change-Id: I0674950304736e53d014117d287682a4f6349879 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M dmi.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/96/62996/1
diff --git a/dmi.c b/dmi.c index a82b494..7c0fc4c 100644 --- a/dmi.c +++ b/dmi.c @@ -386,6 +386,7 @@ free(dmi_strings[i].value); dmi_strings[i].value = NULL; } + g_has_dmi_support = false; return 0; }