int ipfix_deinit_exporter(ipfix_exporter *exporter) {
// free own memory
free(exporter);
exporter=NULL;
return 0;
}
The exporter parameter is assigned a NULL value, but this will have no effect outside the function.
The function should probably accept a `**exporter`` parameter instead.
int ipfix_deinit_exporter(ipfix_exporter *exporter) {
The exporter parameter is assigned a NULL value, but this will have no effect outside the function. The function should probably accept a `**exporter`` parameter instead.