Skip to content
Snippets Groups Projects
Commit c6e5cca3 authored by Jong Hyuk Choi's avatar Jong Hyuk Choi
Browse files

cleanup comments of sl_mem_detach()

parent 4f9f60d5
No related branches found
No related tags found
No related merge requests found
......@@ -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 *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment