Commit 35ee15ea authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wldap32: Remove redundant NULL check before heap_free().

parent 733dc15b
......@@ -241,11 +241,8 @@ ULONG CDECL ldap_get_paged_count( WLDAP32_LDAP *ld, PLDAPSearch search,
return WLDAP32_LDAP_SUCCESS;
}
if (search->cookie)
{
heap_free( search->cookie );
search->cookie = NULL;
}
heap_free( search->cookie );
search->cookie = NULL;
ret = ldap_parse_page_controlW( ld, server_ctrls, count, &search->cookie );
if (ret == WLDAP32_LDAP_SUCCESS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment