Ethereal-dev: [Ethereal-dev] does the returned string of tvb_format_text gets freed automatica

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 15 Nov 2004 13:20:22 +0100
Hi,
taking a look to packet-rtsp.c I found this line:

proto_tree_add_string(sub_tree, hf_rtsp_X_Vig_Msisdn,tvb,
value_offset, value_len ,
tvb_format_text(tvb, value_offset, value_len));
So, unless  tvb_format_text automatically frees the data once the tvb
is destoyed this is a leak isn't it?

Thanks,
Luis