There was a memory leak in the ldap module that occurred only after calling ldap_result_next(). Has run my synthetic tests and tested that it works fine. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1071
-- Commit Summary --
* Fix memory leak in ldap module that happens after calling ldap_result_next()
-- File Changes --
M src/modules/ldap/ldap_api_fn.c (25)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1071.patch https://github.com/kamailio/kamailio/pull/1071.diff