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.