[Freeipmi-users] memory leak on ipmi_monitoring_sensor_readings_by_record_id?

2017-07-17 Thread Yun Sangwon
Hello, I'm using the ipmimonitoring library of freeipmi 1.2.9-8.el7.x86_64 on RHEL 7.3 to monitor values of sensors using IPMI in a program. For continued monitoring, the program calls the API ipmi_monitoring_sensor_readings_by_record_id() every period (in my case 10 seconds). It works fine bu

Re: [Freeipmi-users] memory leak on ipmi_monitoring_sensor_readings_by_record_id?

2017-07-17 Thread Albert Chu
Hi, Skimming through code, it seems I may not be freeing memory after the call to ipmi_get_event_messages(). I'll have to look at this a bit more carefully, but I think you're right. Al On Mon, 2017-07-17 at 09:00 +, Yun Sangwon wrote: > Hello, > > I'm using the ipmimonitoring library of f