X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2FLDAPSearchRequest.cpp;h=184ce66bc0d566123de8fb45799b77b15969de88;hb=e28793bdda900675552634a9685be8e5b7c60409;hp=aa13cd77c9959a45a88a583c973a594ed7535d7f;hpb=8d57c9fe456ff8d0246363519670d592f41e9be7;p=openldap diff --git a/contrib/ldapc++/src/LDAPSearchRequest.cpp b/contrib/ldapc++/src/LDAPSearchRequest.cpp index aa13cd77c9..184ce66bc0 100644 --- a/contrib/ldapc++/src/LDAPSearchRequest.cpp +++ b/contrib/ldapc++/src/LDAPSearchRequest.cpp @@ -1,5 +1,6 @@ +// $OpenLDAP$ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2013 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -70,7 +71,7 @@ LDAPMessageQueue* LDAPSearchRequest::sendRequest(){ m_scope, m_filter.c_str(), tmpattrs, m_attrsOnly, tmpSrvCtrl, tmpClCtrl, tmptime, m_cons->getSizeLimit(), &msgID ); delete tmptime; - ldap_value_free(tmpattrs); + ber_memvfree((void**)tmpattrs); LDAPControlSet::freeLDAPControlArray(tmpSrvCtrl); LDAPControlSet::freeLDAPControlArray(tmpClCtrl);