9756d4f Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon

1 file Authored by twoerner 5 years ago, Committed by cheimes 5 years ago,
    Fix ressource leak in daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_netlogon.c ipa_cldap_netlogon
    
    The leak happens due to using strndup in a for loop to create a temporary
    string without freeing it in all cases.
    
    See: https://pagure.io/freeipa/issue/7738
    Signed-off-by: Thomas Woerner <twoerner@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>