ad9d650 LDAP: Use tmp_ctx in ldap_child for temporary data

Authored and Committed by jhrozek 9 years ago
    LDAP: Use tmp_ctx in ldap_child for temporary data
    
    Using a global memory context for short-lived private data might lead to
    memory growth.
    
    Reviewed-by: Sumit Bose <sbose@redhat.com>