#2133 sss_idmap: add API to free objects allocated by the library
Closed: Fixed None Opened 5 years ago by pbrezina.

User of sss_idmap library can set a custom malloc and free functions, that are used inside the library. However, it lacks API to free allocated objects and it is now on the caller to choose the correct way.

For example:
sss_idmap_unix_to_sid() allocates sid, and in SSSD we need to free it with talloc_free() instead of something like sss_idmap_free().


Fields changed

owner: somebody => pbrezina
status: new => assigned

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.11.3
rhbz: => 0

Fields changed

patch: 0 => 1

resolution: => fixed
status: assigned => closed

Fields changed

changelog: => N/A, this is internal change to make the code more robust.

Metadata Update from @pbrezina:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.11.3

2 years ago

Login to comment on this ticket.

Metadata