From: Howard Chu Date: Fri, 23 May 2003 04:24:39 +0000 (+0000) Subject: ITS#2542 fix? X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e7a533790a1ca6de6b5888bd3773ac7b0ba51a8;p=openldap ITS#2542 fix? --- diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 947e2967a1..23b0a1fb54 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -78,11 +78,6 @@ sl_mem_detach( void *memctx ) { - struct slab_heap *sh = memctx; - int size = (char *) sh->h_end - (char *) sh->h_base; - - sh->h_base = ch_realloc( sh->h_base, size ); - ldap_pvt_thread_pool_setkey( ctx, sl_mem_init, NULL, NULL ); }