Ticket 49932 - Crash in delete_passwdPolicy when persistent search connections are terminated unexpectedly
Bug Description: We clone a pblock in a psearch search, and under certain
error conditions this pblock is freed, but it frees the
password policy struct which can lead to a double free
when the original pblock is destroyed.
Fix Description: During the cloning, set the pwppolicy struct to NULL
so the clone allocates its own policy if needed
Reviewed by: ?
(cherry picked from commit 78fc627accacfa4061ce48977e22301f81ea8d73)