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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user