Index: panel-plugin/acpi.c =================================================================== --- panel-plugin/acpi.c (Revision 5493) +++ panel-plugin/acpi.c (Arbeitskopie) @@ -409,10 +409,10 @@ TRACE ("enters initialize_ACPI"); chip = g_new0 (t_chip, 1); - chip->name = _("ACPI"); /* to be displayed */ - /* chip->description = _("Advanced Configuration and Power Interface"); */ + chip->name = g_strdup(_("ACPI")); /* to be displayed */ + /* chip->description = g_strdup(_("Advanced Configuration and Power Interface")); */ chip->description = g_strdup_printf (_("ACPI v%s zones"), get_acpi_info()); - chip->sensorId = "ACPI"; /* used internally */ + chip->sensorId = g_strdup("ACPI"); /* used internally */ chip->type = ACPI; Index: panel-plugin/hddtemp.c =================================================================== --- panel-plugin/hddtemp.c (Revision 5493) +++ panel-plugin/hddtemp.c (Arbeitskopie) @@ -271,9 +271,9 @@ chip->chip_features = g_ptr_array_new (); chip->num_features = 0; - chip->description = _("S.M.A.R.T. harddisk temperatures"); - chip->name = _("Hard disks"); - chip->sensorId = "Hard disks"; + chip->description = g_strdup(_("S.M.A.R.T. harddisk temperatures")); + chip->name = g_strdup(_("Hard disks")); + chip->sensorId = g_strdup("Hard disks"); chip->type = HDD; p_uname = (struct utsname *) malloc (sizeof(struct utsname)); Index: panel-plugin/lmsensors.c =================================================================== --- panel-plugin/lmsensors.c (Revision 5493) +++ panel-plugin/lmsensors.c (Arbeitskopie) @@ -74,7 +74,7 @@ #endif chip->num_features=0; - chip->name = _("LM Sensors"); + chip->name = g_strdup(_("LM Sensors")); chip->chip_features = g_ptr_array_new(); #if SENSORS_API_VERSION < 0x400 /* libsensors3 */ Index: panel-plugin/sensors.c =================================================================== --- panel-plugin/sensors.c (Revision 5493) +++ panel-plugin/sensors.c (Arbeitskopie) @@ -931,7 +931,8 @@ chip->sensorId = g_strdup(_("No sensors found!")); chip->num_features = 1; chipfeature->color = "#000000"; - chipfeature->name = "No sensor"; + g_free (chipfeature->name); + chipfeature->name = g_strdup("No sensor"); chipfeature->valid = TRUE; g_free (chipfeature->formatted_value); chipfeature->formatted_value = g_strdup("0.0");