digitaltrails / ddcutil-service

A Dbus ddcutil server for control of DDC Monitors/VDUs
GNU General Public License v2.0
11 stars 1 forks source link

valgrind complains about ddca_get_feature_metadata_by_dh #10

Closed digitaltrails closed 7 months ago

digitaltrails commented 9 months ago

Either the dbus server has a leak, or the leak is inside libddcutil.

Calling ddca_get_feature_metadata_by_dh():

ddca_get_feature_metadata_by_dh(vcp_code, disp_handle, 0, &metadata_ptr);
...
ddca_free_feature_metadata(metadata_ptr);

Appears to be leaking something allocated with calloc inside libddcutil.

Need to write specific test case (or ask @rockowitz).

digitaltrails commented 7 months ago

Fixed