Wireshark-dev: [Wireshark-dev] allocating memory for hf_register_info
From: Richard Kümmel <R.Kuemmel@xxxxxxxxxxxx>
Date: Wed, 9 Jan 2008 10:09:03 +0100
Title: allocating memory for hf_register_info

Hi,

instead using

        static hf_register_info hf[]

i would like to create this array dynamically from and pass it to proto_register_field_array.
I create this array from statically stored arrays of my own.

This worked fine. but when can i free this memory again. I did not find any unregister function
callback to use.

Richard





Beckhoff Automation GmbH | Managing Director: Dipl. Phys. Hans Beckhoff, Arnold Beckhoff
Registered office: Verl, Germany | Register court: Gütersloh HRB 1803