summaryrefslogtreecommitdiff
path: root/sensors-applet/sensors-applet-plugins.c
diff options
context:
space:
mode:
Diffstat (limited to 'sensors-applet/sensors-applet-plugins.c')
-rw-r--r--sensors-applet/sensors-applet-plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sensors-applet/sensors-applet-plugins.c b/sensors-applet/sensors-applet-plugins.c
index b20eb4f..94c7c69 100644
--- a/sensors-applet/sensors-applet-plugins.c
+++ b/sensors-applet/sensors-applet-plugins.c
@@ -83,7 +83,8 @@ static void load_all_plugins(SensorsApplet *sensors_applet,
sensor_info->offset,
sensor_info->icon,
sensor_info->graph_color);
-
+
+ // sensors_applet_add_sensor() doesn't free strings, so free them here
g_free(sensor_info->path);
g_free(sensor_info->id);
g_free(sensor_info->label);