#4276 ipa-range-check: Memory leak when freeing the range_info object
Closed: Fixed None Opened 10 years ago by tbabej.

In the ipa_range_check.c, we use simple free to free the range_info struct:


However, the range_info struct contains char like char domain_id that are filled by slapi_entry_attr_get_charptr, and thus need to be freed using the slapi_ch_free_string.


  • 8d2b3fe ipa-range-check: Fix memory leaks when freeing range object

Metadata Update from @tbabej:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.0 - 2014/04

7 years ago

Log in to comment on this ticket.