diff options
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c index fca4819a0..9a51d4196 100644 --- a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c +++ b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c @@ -147,7 +147,7 @@ static char* get_forest_root_id(struct domain_info *head, char* domain_id) { if (domain_id != NULL) { while(head) { if (strcasecmp(head->domain_id, domain_id) == 0) { - return head->forest_root_id; + return slapi_ch_strdup(head->forest_root_id); } head = head->next; } |