[Git][openldap/openldap][OPENLDAP_REL_ENG_2_6] 5 commits: ITS#9876 Coverity fixes: plug memleaks