Ticket 49531 - coverity issues - fix memory leaks
Description: There were two false positives around pwpolicy struct
being leaked, but it is freed when the pblock is
destroyed. The other two leaks were real, but they
only occurred during error conditions.
https://pagure.io/389-ds-base/issue/49531
Reviewed by: lkrispen (Thanks!)