71cbd1d Issue 49511 - memory leak in pwdhash

Authored and Committed by spichugi 6 years ago
    Issue 49511 - memory leak in pwdhash
    
    Bug description: When we have multiple inputs
    we leak 1 to N strings allocate.
    
    Fix description: We free only one string in the end of main()
    but if we have a multiple string inputs we should free
    all of them during the for loop.
    
    https://pagure.io/389-ds-base/issue/49511
    
    Reviewed by: mreynolds (Thanks!)