zabbix-agent2/src/libs/zbxsysinfo/sysinfo.c
/******************************************************************************
 *                                                                            *
 * Function: free_request_params                                              *
 *                                                                            *
 * Purpose: free memory used by the request parameters                        *
 *                                                                            *
 * Parameters: request - pointer to the request structure                     *
 *                                                                            *
 ******************************************************************************/
free_request_params

Purpose: free memory used by the request parameters

Parameters: request - pointer to the request structure
free_request_params Purpose : free memory used by the request parameters Parameters : request - pointer to the request structure
static void	free_request_params(AGENT_REQUEST *request)
{
	int	i;
	for (i = 0; i < request->nparam; i++)
		zbx_free(request->params[i]);
	zbx_free(request->params);
	zbx_free(request->types);
	request->nparam = 0;
}
static void free_request_params ( AGENT_REQUEST * request ) { int i ; for ( i = 0 ; i < request -> nparam ; i ++ ) zbx_free ( request -> params [ i ] ) ; zbx_free ( request -> params ) ; zbx_free ( request -> types ) ; request -> nparam = 0 ; }
Function: free_request_params                                              
                                                                            
 Purpose: free memory used by the request parameters                        
                                                                            
 Parameters: request - pointer to the request structure
Function : free_request_params Purpose : free memory used by the request parameters Parameters : request - pointer to the request structure