zabbix-agent2/src/libs/zbxhistory/history.c
/******************************************************************************
 *                                                                            *
 * Function: history_logfree                                                  *
 *                                                                            *
 * Purpose: frees history log and all resources allocated for it              *
 *                                                                            *
 * Parameters: log   - [IN] the history log to free                           *
 *                                                                            *
 ******************************************************************************/
history_logfree

Purpose: frees history log and all resources allocated for it

Parameters: log   - [IN] the history log to free
history_logfree Purpose : frees history log and all resources allocated for it Parameters : log - [ IN ] the history log to free
static void	history_logfree(zbx_log_value_t *log)
{
	zbx_free(log->source);
	zbx_free(log->value);
	zbx_free(log);
}
static void history_logfree ( zbx_log_value_t * log ) { zbx_free ( log -> source ) ; zbx_free ( log -> value ) ; zbx_free ( log ) ; }
Function: history_logfree                                                  
                                                                            
 Purpose: frees history log and all resources allocated for it              
                                                                            
 Parameters: log   - [IN] the history log to free
Function : history_logfree Purpose : frees history log and all resources allocated for it Parameters : log - [ IN ] the history log to free