Skip to content

sss_idmap: add API to free objects allocated by the library #3175

Description

@sssd-bot

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/2133

  • Created at 2013-10-30 14:57:18 by pbrezina
  • Closed as Fixed
  • Assigned to 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().

Comments


Comment from pbrezina at 2013-10-31 10:54:03

Fields changed

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


Comment from dpal at 2013-10-31 14:38:45

Fields changed

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


Comment from pbrezina at 2013-11-04 12:14:32

Fields changed

patch: 0 => 1


Comment from jhrozek at 2013-11-07 11:04:26


Comment from jhrozek at 2013-11-07 11:18:49

resolution: => fixed
status: assigned => closed


Comment from jhrozek at 2013-12-19 19:11:49

Fields changed

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


Comment from pbrezina at 2017-02-24 14:46:49

Metadata Update from @pbrezina:

  • Issue assigned to pbrezina
  • Issue set to the milestone: SSSD 1.11.3

Metadata

Metadata

Assignees

Labels

Closed: FixedIssue was closed as fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions