diff options
author | rbuj <[email protected]> | 2021-11-28 09:33:35 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-04-21 04:52:42 +0000 |
commit | 68740373619824398f0c16c39ca12ed8ac1e275c (patch) | |
tree | f6bebb25fc2f6f36e6df41429246347784568571 /plugins/smu-sys | |
parent | e203f00efd67afbef6ce18c1fcaff61a655a8bdc (diff) | |
download | mate-sensors-applet-68740373619824398f0c16c39ca12ed8ac1e275c.tar.bz2 mate-sensors-applet-68740373619824398f0c16c39ca12ed8ac1e275c.tar.xz |
Redundant null check
Diffstat (limited to 'plugins/smu-sys')
-rw-r--r-- | plugins/smu-sys/smu-sys-plugin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/smu-sys/smu-sys-plugin.c b/plugins/smu-sys/smu-sys-plugin.c index fbf3ff6..f5940fd 100644 --- a/plugins/smu-sys/smu-sys-plugin.c +++ b/plugins/smu-sys/smu-sys-plugin.c @@ -88,9 +88,7 @@ static void smu_sys_plugin_add_sensor(GList **sensors, const gchar *path) { } g_free(filename); - if (label != NULL) { - g_free(label); - } + g_free(label); } static void smu_sys_plugin_test_sensor(GList **sensors, const gchar *path) { |