Probable memory leak issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux