]> git.sur5r.net Git - openldap/commitdiff
ITS#2542 fix?
authorHoward Chu <hyc@openldap.org>
Fri, 23 May 2003 04:24:39 +0000 (04:24 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 23 May 2003 04:24:39 +0000 (04:24 +0000)
servers/slapd/sl_malloc.c

index 947e2967a17edaada83c0461cb1168ac840f177a..23b0a1fb54329942b73027d8f2c9f051bc0560fc 100644 (file)
@@ -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 );
 }