From 9040bf1fd9e6044580459c15b9b67082b2368384 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 22 Oct 2016 17:46:15 +0200 Subject: [PATCH] Prevent memory leak on show_units==true --- panel-plugin/sensors-plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c index 375cef6..df2c987 100644 --- a/panel-plugin/sensors-plugin.c +++ b/panel-plugin/sensors-plugin.c @@ -645,6 +645,7 @@ sensors_set_text_panel_label (t_sensors *sensors, gint numCols, gint itemsToDisp chipfeature->formatted_value, NULL); + g_free (myLabelText); myLabelText = g_strconcat (tmpstring, "", NULL); -- 2.9.3