if (ipfixCollector->receiver_type != UNKNOWN) { ipfixCollector->receiver_functions.destroyReceiver(ipfixCollector->receiver); ipfixCollector->receiver_functions.deinitializeReceivers(); }
destroyIpfixReceiver(ipfixCollector->ipfixReceiver);
void destroyIpfixCollector(IpfixCollector* ipfixCollector) {	if (ipfixCollector->receiver_type != UNKNOWN) {		ipfixCollector->receiver_functions.destroyReceiver(ipfixCollector->receiver);		ipfixCollector->receiver_functions.deinitializeReceivers();	}	free(ipfixCollector->packetProcessor);	free(ipfixCollector);        }