libcomps
libcomps copied to clipboard
COMPS_OBJECT_DESTROY called on wrong address
There are some places in comps_objmradix.c
where COMPS_OBJECT_DESTROY is called on the wrong address, resulting in memory leaks (in these particular cases)
https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L134 https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L188 https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L242