if (ipfixReceiver) {
IpfixReceiver *ipfixReceiver=c->ipfixReceiver; Rules *rules=c->rules; IpfixSender *ipfixSender=c->ipfixSender;  if(ipfixReceiver) {
void destroyConcentrator() {	int i;	if (ipfixReceiver) {		debug("stopping collector");		stopRcvIpfix(ipfixReceiver);		rcvIpfixClose(ipfixReceiver);		deinitializeRcvIpfix();		ipfixReceiver = 0;		}		if (rules) {		debug("stopping aggregator");		for (i = 0; i < rules->count; i++) {			destroyHashtable(rules->rule[i]->hashtable);			}		destroyRules(rules);		rules = 0;		}	if (ipfixSender) {		debug("stopping exporter");		stopSndIpfix(ipfixSender);		sndIpfixClose(ipfixSender);		deinitializeSndIpfix();			ipfixSender = 0;		}	}