Ticket 50709 - (cont) Several memory leaks reported by Valgrind for 389-ds 1.3.9.1-10
Description of the problem:
Original fix was incorrect as it set again in pblock (SLAPI_CONN_CLIENTNETADDR_ACLIP)
the same structure. As old structure is freed during the slapi_pblock_set,
pblock refers to a freed structure.
Later an other threads using the same aclpb contain will use it after free
(see https://pagure.io/389-ds-base/issue/50709#comment-621129)
Description of the fix:
Only sets in pblock a newly allocated structure
https://pagure.io/389-ds-base/issue/50709
Reviewed by: Mark Reynolds (Thanks !)