Skip to content

Commit

Permalink
Fixed minor memory-hierarchy-related issue in IPA HBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Zeleny authored and sgallagher committed Feb 6, 2012
1 parent 71ad247 commit c32484c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/ipa/ipa_hbac_hosts.c
Expand Up @@ -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++;
}
Expand Down

0 comments on commit c32484c

Please sign in to comment.