Hi Team,
I was looking a the code in ofproto-dpif-ipfix.c file. The
function dpif_ipfix_bridge_exporter_destroy( ) invokes following two
functions
dpif_ipfix_bridge_exporter_destroy(struct dpif_ipfix_bridge_exporter
*exporter)
{
dpif_ipfix_bridge_exporter_clear(exporter);
dpif_ipfix_exporter_destroy(&exporter->exporter);
}
which internally invokes the following chain of functions
dpif_ipfix_bridge_exporter_clear( )->dpif_ipfix_exporter_clear( )->
collectors_destroy(exporter->collectors)
dpif_ipfix_exporter_destroy ( )-> dpif_ipfix_exporter_clear ( )->
collectors_destroy
(exporter->collectors)
So same pointer is destroyed 2 times in function. what's your view point on
same?
Regards
Neeraj
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss