|
@@ -210,17 +210,17 @@ cs_error_t confdb_finalize (
|
|
|
|
|
|
|
|
pthread_mutex_unlock (&confdb_inst->response_mutex);
|
|
pthread_mutex_unlock (&confdb_inst->response_mutex);
|
|
|
|
|
|
|
|
|
|
+ /* Free saved context handles */
|
|
|
|
|
+ free_context_list(confdb_inst, &confdb_inst->object_find_head);
|
|
|
|
|
+ free_context_list(confdb_inst, &confdb_inst->object_iter_head);
|
|
|
|
|
+ free_context_list(confdb_inst, &confdb_inst->key_iter_head);
|
|
|
|
|
+
|
|
|
if (!confdb_inst->standalone) {
|
|
if (!confdb_inst->standalone) {
|
|
|
cslib_service_disconnect (&confdb_inst->ipc_ctx);
|
|
cslib_service_disconnect (&confdb_inst->ipc_ctx);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
(void)saHandleDestroy (&confdb_handle_t_db, handle);
|
|
(void)saHandleDestroy (&confdb_handle_t_db, handle);
|
|
|
|
|
|
|
|
- /* Free saved context handles */
|
|
|
|
|
- free_context_list(confdb_inst, &confdb_inst->object_find_head);
|
|
|
|
|
- free_context_list(confdb_inst, &confdb_inst->object_iter_head);
|
|
|
|
|
- free_context_list(confdb_inst, &confdb_inst->key_iter_head);
|
|
|
|
|
-
|
|
|
|
|
(void)saHandleInstancePut (&confdb_handle_t_db, handle);
|
|
(void)saHandleInstancePut (&confdb_handle_t_db, handle);
|
|
|
|
|
|
|
|
return (CS_OK);
|
|
return (CS_OK);
|