Wireshark-dev: Re: [Wireshark-dev] How to retrieve text displayed for a proto_item ?

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Dec 2011 15:21:00 -0700
---- On Fri, 23 Dec 2011 06:17:22 -0700 Teto  wrote ---- 

>Thx for the quick answer as usual.
>
>> Note this won't pass the inspection by reviewers.
>That was dissuasive ^^
>I've done like you said, using a temp GString* , thanks for the advice

See also doc/README.developer section 1.1.2 which talks about ep_strbuf strings that Wireshark manages the memory for.