summaryrefslogtreecommitdiff
path: root/plugins/i2c-sys
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/i2c-sys')
-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;
}