X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=src%2Finterfaces%2Fhostnamed%2Fhostnamed.c;h=e7edd7e6a69b00586925976ea46b404eaa457aa3;hp=f1c3fb4b1b11e47cf17f3ef9fdc61343a4cd4e5a;hb=5ac7f54296c8986b0be822ec8034ef8b265914d2;hpb=b81ab32a35147a06710a58f32283d12b08599ea7 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);