Probable memory leak issue
Quoted 8 lines · Souley Madougou
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.
Can you please send a patch fixing this problem you're seeing? If not, please at least tell which version of lm-sensors you're looking at, and what circumstances it takes to trigger the leak, so that I get a chance to reproduce and fix it.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors