mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
mostly revert previous commit
This commit is contained in:
parent
c789d494c4
commit
1b11741a30
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user