ftweedal / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

75f0b8d Ticket #48822 - (389-ds-base-1.3.5) Fixing coverity issues.

Authored and Committed by nhosoi 8 years ago
    Ticket #48822 - (389-ds-base-1.3.5) Fixing coverity issues.
    
    Description: RESOURCE_LEAK
    slapd/ssl.c:3156: leaked_storage: Variable "personality" going out of
                      scope leaks the storage it points to.
    slapd/ssl.c:2807: leaked_storage: Variable "certdir" going out of scope
                      leaks the storage it points to.
    slapd/ssl.c:2701: leaked_storage: Variable "certdir" going out of scope
                      leaks the storage it points to.
    
    Freeing the variables with slapi_ch_free_string.
    
    https://fedorahosted.org/389/ticket/48822
    
    Reviewed by wibrown@redhat.com (Thank you, William!!)
    
        
file modified
+9 -3