2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

prog/sensors/chips.c: Fix a memory leak in print_unknown_chip.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4037 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-06-03 09:22:10 +00:00
parent e00d3dc353
commit b74c06f0f2
2 changed files with 2 additions and 0 deletions

View File

@@ -6067,6 +6067,7 @@ void print_unknown_chip(const sensors_chip_name *name)
printf("%s: %.2f (%s)\n",label,val,data->name);
} else
printf("(%s)\n",label);
free(label);
}
}