summaryrefslogtreecommitdiff
path: root/plugins/i2c-sys/i2c-sys-plugin.c
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-04-22 12:56:21 +0800
committerraveit65 <[email protected]>2023-04-28 00:38:32 +0200
commit6148063f860bf23d970199fd74a9efdf547be834 (patch)
treeb5756324ac8fae1b79ba402d4d887989e6314c8b /plugins/i2c-sys/i2c-sys-plugin.c
parent68740373619824398f0c16c39ca12ed8ac1e275c (diff)
downloadmate-sensors-applet-6148063f860bf23d970199fd74a9efdf547be834.tar.bz2
mate-sensors-applet-6148063f860bf23d970199fd74a9efdf547be834.tar.xz
Fix Compilation Warning
Diffstat (limited to 'plugins/i2c-sys/i2c-sys-plugin.c')
-rw-r--r--plugins/i2c-sys/i2c-sys-plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/i2c-sys/i2c-sys-plugin.c b/plugins/i2c-sys/i2c-sys-plugin.c
index b39ede4..72e2aee 100644
--- a/plugins/i2c-sys/i2c-sys-plugin.c
+++ b/plugins/i2c-sys/i2c-sys-plugin.c
@@ -92,8 +92,6 @@ static void i2c_sys_plugin_add_sensor(GList **sensors, const gchar *path) {
/* SHOULDN'T BE ABLE * TO GET HERE!! */
g_warning("filename:\"%s\" begins with a charater that is not covered by this switch statement... not adding sensor", filename);
g_free(filename);
- g_free(id);
- g_free(label);
return;
}