From c6e5cca3f40029b7792c123bd731d1fe21e189f9 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Fri, 30 May 2003 21:44:18 +0000 Subject: [PATCH] cleanup comments of sl_mem_detach() --- servers/slapd/sl_malloc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index e635cafc62..e40e864807 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -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 * -- 2.39.5