Ethereal-dev: [Ethereal-dev] CLEANUP_PUSH etc ...

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Sat, 16 Mar 2002 05:56:15 +1030 (CST)
Hi,

It seems to me that CLEANUP_PUSH and CLEANUP_CALL_AND_POP should surround 
code that is allocating memory dynamically, and serves to prevent/reduce 
mem leaks when you take an exception due to trying to access memory in a 
tvb beyond the end.

Is this the case?

Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx