Probable memory leak issue
Dear developers,
I suspect that there is a memory leak issue in your code. In sensors_parse_chip_name() you are allocating memory in the following line:
res->prefix = strndup(name, dash - name);
In some circonstances, this memory is not freed in the sensors_cleanup() function.
Best regards,
Souley Madougou.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors