Hi to everyone!

I'm writing a dissector for a TCP-based protocol. I have a
conversation state object of my proto which is managed by
conversation_*_proto_data(). The state object is alloced by
se_alloc(), so it has a lifetime of capture, but the object itself
contains libgcrypt handles which are alloced by g_malloc. How should I
free these handles? Is there any mean to catch the moment when my
state object is about to be destroyed?

--
  Max
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to