* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <config.h>
-
-//#include "wine/port.h"
-#include <wine/debug.h>
-
-//#include <stdarg.h>
-
-//#include "windef.h"
-#include <winbase.h>
-#include <winnls.h>
+#include "config.h"
+#include "wine/port.h"
+#include <stdarg.h>
#ifdef HAVE_LDAP_H
#include <ldap.h>
#endif
+#include "windef.h"
+#include "winbase.h"
+#include "winnls.h"
+
#include "winldap_private.h"
#include "wldap32.h"
+#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
ldap_memfree( matchedU );
ldap_memfree( errorU );
- strarrayfreeU( referralsU );
+ ldap_memvfree( (void **)referralsU );
ldap_controls_free( serverctrlsU );
#endif
#ifdef HAVE_LDAP_PARSE_VLV_CONTROL
if (!(ret = ldap_parse_vlv_control( ld, controlU, &pos, &count,
- context, errcode )))
+ (struct berval **)context, errcode )))
{
*targetpos = pos;
*listcount = count;