Ticket 47517 - fix memory leaks in ldaputil.c nad ldbm_delete.c
Fixed leak when getting the hostname control in ldaputil.c, and a leak in ldbm_delete.c
and the hte parent id string.
https://fedorahosted.org/389/ticket/47517
Reviewed by: nhosoi & richm(Thanks!)