diff options
Diffstat (limited to 'plugins/pmu-sys')
-rw-r--r-- | plugins/pmu-sys/pmu-sys-plugin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/pmu-sys/pmu-sys-plugin.c b/plugins/pmu-sys/pmu-sys-plugin.c index 1cac7e9..5a47aea 100644 --- a/plugins/pmu-sys/pmu-sys-plugin.c +++ b/plugins/pmu-sys/pmu-sys-plugin.c @@ -95,9 +95,7 @@ static void pmu_sys_plugin_add_sensor(GList **sensors, const gchar *path) { } g_free(filename); - if (label != NULL) { - g_free(label); - } + g_free(label); } static void pmu_sys_plugin_test_sensor(GList **sensors, const gchar *path) { |