Edward O'Callaghan has uploaded this change for review.

View Change

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;
}


To view, visit change 62996. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0674950304736e53d014117d287682a4f6349879
Gerrit-Change-Number: 62996
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange