method for clean-up

Hi,

  I am making a module for Bro to track some specific UDP traffic...
I've an object (GTP_Conn) inheritating from UDP_Conn instantiated in
Session.cc.
I'm using a Dictionary, like the one used for the tcp_conns, udp_conns
variables.
I've created a custom key, the lookup works so I suppose the dictionary
works well.

this is how I created the dictionary:

  declare(PDict, GTP_Tunnel); // GTP_Tunnel is the class type of my
custom object
  ...
  PDict(GTP_Tunnel) tunnels;
  ...
  tunnels.SetDeleteFunc(bro_obj_delete_func); // just copied this
from the
              // tcp_conns exemple

This is what I get when shuting down after simulating 1 packet: