mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup comments of sl_mem_detach()
This commit is contained in:
parent
4f9f60d5d3
commit
c6e5cca3f4
@ -80,13 +80,6 @@ sl_mem_detach(
|
||||
{
|
||||
/* separate from context */
|
||||
ldap_pvt_thread_pool_setkey( ctx, sl_mem_init, NULL, NULL );
|
||||
|
||||
/* The code used to try to use realloc to shrink the region.
|
||||
* This is unsafe, since realloc may return a different block
|
||||
* of memory from what was passed in, and the region contains
|
||||
* pointers that reference itself. After realloc, these pointers
|
||||
* are invalid, and crashes result.
|
||||
*/
|
||||
}
|
||||
|
||||
void *
|
||||
|
Loading…
Reference in New Issue
Block a user