406b731 nss: use enumeration context as talloc parent for cache req result

4 files Authored by pbrezina 5 years ago, Committed by jhrozek 5 years ago,
    nss: use enumeration context as talloc parent for cache req result
    
    Otherwise we end up with memory leak since the result is never freed.
    
    We need to convert nctx->*ent structures into talloc pointer so
    we can use enum_ctx as parent.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3870
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+6 -6
file modified
+1 -1
file modified
+21 -0