diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ipa/ipa_hbac_hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hbac_hosts.c b/src/providers/ipa/ipa_hbac_hosts.c index d672760e..329fdc88 100644 --- a/src/providers/ipa/ipa_hbac_hosts.c +++ b/src/providers/ipa/ipa_hbac_hosts.c @@ -361,7 +361,8 @@ ipa_hbac_hostgroup_info_done(struct tevent_req *subreq) i = 0; while(state->hostgroup_count < hostgroups_total) { - state->hostgroups[state->hostgroup_count] = hostgroups[i]; + state->hostgroups[state->hostgroup_count] = + talloc_steal(state->hostgroups, hostgroups[i]); state->hostgroup_count++; i++; } |