From: Pierangelo Masarati Date: Wed, 20 Jul 2005 19:26:46 +0000 (+0000) Subject: mostly revert previous commit X-Git-Tag: OPENLDAP_AC_BP~305 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b11741a30b38730db7ff973408d0a9497b7e489;p=openldap mostly revert previous commit --- diff --git a/libraries/liblber/options.c b/libraries/liblber/options.c index 56769ed628..02fb7c594e 100644 --- a/libraries/liblber/options.c +++ b/libraries/liblber/options.c @@ -62,6 +62,7 @@ ber_get_option( #else return LBER_OPT_ERROR; #endif + case LBER_OPT_LOG_PRINT_FILE: *((FILE**)outvalue) = (FILE*)ber_pvt_err_file; return LBER_OPT_SUCCESS; @@ -167,7 +168,6 @@ ber_set_option( ber_int_memory_fns->bmf_free( ber_int_memory_fns, NULL ); ber_int_memory_fns = NULL; - ber_int_options.lbo_valid = LBER_UNINITIALIZED; return LBER_OPT_SUCCESS; } diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 5b591e9eda..e5d78627dd 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -73,8 +73,6 @@ slap_sl_mem_destroy( ber_memfree_x(sh->sh_base, NULL); ber_memfree_x(sh, NULL); } - - ber_set_option( NULL, LBER_OPT_MEMORY_FNS, NULL ); } BerMemoryFunctions slap_sl_mfuncs =