#2133 sss_idmap: add API to free objects allocated by the library
Closed: Fixed None Opened 9 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

5 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3175

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.