Ethereal-dev: Re: [Ethereal-dev] Do I need to call tvb_free?

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

From: "Ronnie Sahlberg" <ronnie_sahlberg@xxxxxxxxxxxxxx>
Date: Wed, 23 Jun 2004 17:49:09 +1000
No,


if you just create it with tvb_new_subset() there should not be any need to
manually free it.
It should automagically be freed when the real tvb is freed.


----- Original Message ----- 
From: "Michael Tuexen" 
Sent: Wednesday, June 23, 2004 7:11 AM
Subject: [Ethereal-dev] Do I need to call tvb_free?


> Dear all,
> 
> I ofter use tvb_new_subset in my dissectors. Do I have to call also
> tvb_free when I'm done with the TVBs? I have not found any hint in the
> documentation.
> 
> Best regards
> Michael
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev