zabbix-agent2/src/libs/zbxdbcache/dbconfig.c
/******************************************************************************
 *                                                                            *
 * Function: dc_trigger_deplist_reset                                         *
 *                                                                            *
 * Purpose: resets trigger dependency list to release memory allocated by     *
 *          dependencies vector                                               *
 *                                                                            *
 ******************************************************************************/
dc_trigger_deplist_reset

Purpose: resets trigger dependency list to release memory allocated by
dependencies vector
dc_trigger_deplist_reset Purpose : resets trigger dependency list to release memory allocated by dependencies vector
static void	dc_trigger_deplist_reset(ZBX_DC_TRIGGER_DEPLIST *trigdep)
{
	zbx_vector_ptr_destroy(&trigdep->dependencies);
	zbx_vector_ptr_create_ext(&trigdep->dependencies, __config_mem_malloc_func, __config_mem_realloc_func,
			__config_mem_free_func);
}
static void dc_trigger_deplist_reset ( ZBX_DC_TRIGGER_DEPLIST * trigdep ) { zbx_vector_ptr_destroy ( & trigdep -> dependencies ) ; zbx_vector_ptr_create_ext ( & trigdep -> dependencies , __config_mem_malloc_func , __config_mem_realloc_func , __config_mem_free_func ) ; }
Function: dc_trigger_deplist_reset                                         
                                                                            
 Purpose: resets trigger dependency list to release memory allocated by     
          dependencies vector
Function : dc_trigger_deplist_reset Purpose : resets trigger dependency list to release memory allocated by dependencies vector