e6dee51 nested groups: do not return ENOMEM if num_groups is 0

1 file Authored by pbrezina 10 years ago, Committed by jhrozek 10 years ago,
    nested groups: do not return ENOMEM if num_groups is 0
    
    talloc_realloc(..., 0) calls talloc_free() and returns NULL.
    If we process group that contains only users, we errornously
    return ENOMEM.