| |
@@ -338,7 +338,7 @@
|
| |
|
| |
if (slapi_pblock_set(pb, SLAPI_PLUGIN_VERSION, SLAPI_PLUGIN_VERSION_01) != 0 ||
|
| |
slapi_pblock_set(pb, SLAPI_PLUGIN_DESCRIPTION, (void *)&multimasterbepreopdesc) != 0 ||
|
| |
- slapi_pblock_set(pb, SLAPI_PLUGIN_BE_PRE_CLOSE_FN, (void *)cl5Close) != 0 ||
|
| |
+ slapi_pblock_set(pb, SLAPI_PLUGIN_BE_PRE_CLOSE_FN, (void *)cl5Cleanup) != 0 ||
|
| |
slapi_pblock_set(pb, SLAPI_PLUGIN_BE_PRE_BACKUP_FN, (void *)cl5WriteRUV) != 0) {
|
| |
slapi_log_err(SLAPI_LOG_PLUGIN, repl_plugin_name, "multimaster_bepreop_init - Failed\n");
|
| |
rc = -1;
|
| |
Bug Description: Memory Leaks are detected by ASAN in changelog5_init
and perfctrs_init functions.
Fix Description: Free existing memory before initializing new memory
which will be assigned to the existing stucts.
https://pagure.io/389-ds-base/issue/51016
Reviewed by: ?