summaryrefslogtreecommitdiff
path: root/lib/init.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-09-23 11:59:51 +0000
committerJean Delvare <khali@linux-fr.org>2007-09-23 11:59:51 +0000
commit08a686e3cc35992ffe6de3be3d085edb34517547 (patch)
tree69c6f0d3a53a7924550156909fe6af12257500f4 /lib/init.c
parent60b50b6cb96b982b640764d421ba0a13b2beb06d (diff)
downloadlm-sensors-git-08a686e3cc35992ffe6de3be3d085edb34517547.tar.gz
sensors_feature_data and sensors_chip_feature are now the exact
same structure, so we can get rid of the former for simpler code. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4830 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/init.c')
-rw-r--r--lib/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.c b/lib/init.c
index 746fb67b..b956ecb6 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -57,7 +57,7 @@ static void free_chip_features(sensors_chip_features *features)
int i;
for (i = 0; i < features->feature_count; i++)
- free(features->feature[i].data.name);
+ free(features->feature[i].name);
free(features->feature);
}