pass the address of my_exported, instead of its value, to ipfix_deinit_exporter

master
Emanuel Vintila 2017-12-01 16:40:06 +01:00 committed by Nicholas Brown
parent 0bf905ed89
commit 1082d3f8de
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ out:
/* if you no longer need the exporter: free resources */
ret=ipfix_remove_collector(my_exporter, myconfig.coll_ip4_addr, myconfig.coll_port);
ipfix_deinit_exporter(my_exporter);
ipfix_deinit_exporter(&my_exporter);
printf("Done.\n");
exit(EXIT_SUCCESS);