[sr-dev] git:master:87edc25f: ldap: fix memory leak that happens after calling ldap_result_next()