49291b7 Ticket 49370 - Crash when using a global and local pw

Authored and Committed by mreynolds 6 years ago
    Ticket 49370 - Crash when using a global and local pw
     policies
    
    Description:  This a regression from the previous patch.  We were
                  accidently using a reference to the global pw policy
                  password storage scheme, which was getting freed after
                  pblock was done from an operation.  The next operation
                  then used(and double freed) this memory on the next
                  operation.
    
    https://pagure.io/389-ds-base/issue/49370
    
    Reviewed by: tbordaz (Thanks!)
    
    (cherry picked from commit d86e0f9634e694feb378ee335d29b2e89fd27e2c)
    
        
file modified
+17 -15