aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces/hostnamed/hostnamed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/hostnamed/hostnamed.c')
-rw-r--r--src/interfaces/hostnamed/hostnamed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c
index f1c3fb4..e7edd7e 100644
--- a/src/interfaces/hostnamed/hostnamed.c
+++ b/src/interfaces/hostnamed/hostnamed.c
@@ -409,6 +409,7 @@ gboolean determine_chassis_and_icon() {
hwproduct_size = hwmodel_size = hwvendor_size = hwmachine_size = bufsize;
UNSURE_CHASSIS_FLAG = UNSURE_ICON_FLAG = FALSE;
+ i = 0;
hwproduct = (char*)g_malloc0(4096);
hwmodel = (char*)g_malloc0(4096);