From: Sven Baars sbaars@codeweavers.com
--- dlls/adsldp/adsldp.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/adsldp/adsldp.c b/dlls/adsldp/adsldp.c index 3731cce9efe..dd459f3aa18 100644 --- a/dlls/adsldp/adsldp.c +++ b/dlls/adsldp/adsldp.c @@ -1459,6 +1459,7 @@ exit: return S_ADS_NOMORE_ROWS;
ldap_ctx->pos++; + if (ldap_ctx->ber) ber_free(ldap_ctx->ber, 0); ldap_ctx->ber = NULL;
return S_OK;