Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal exceptions.h proto.c

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Wed, 23 Aug 2000 21:55:43 -0500 (CDT)
gram        2000/08/23 21:55:40 CDT

  Modified files:
    .                    exceptions.h proto.c 
  Log:
  Fix and document the CLEANUP_* macros, allowing the programmer to register
  cleanup functions for the cases in which an exception is thrown but not
  caught in a region where cleanup needs to occur.
  
  Use these macros in proto_tree_add_item, where we need to free the field_info*
  in case an exception is thrown when accessing the tvbuff.
  
  Revision  Changes    Path
  1.3       +66 -3     ethereal/exceptions.h
  1.79      +14 -3     ethereal/proto.c