diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-09-23 11:59:51 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2007-09-23 11:59:51 +0000 |
commit | 08a686e3cc35992ffe6de3be3d085edb34517547 (patch) | |
tree | 69c6f0d3a53a7924550156909fe6af12257500f4 /lib/init.c | |
parent | 60b50b6cb96b982b640764d421ba0a13b2beb06d (diff) | |
download | lm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |