Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/ftypes ftype-bytes.c ftype-string.c fty

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 29 Oct 2003 17:48:14 -0600 (CST)
guy         2003/10/29 17:48:14 CST

  Modified files:
    epan/ftypes          ftype-bytes.c ftype-string.c 
                         ftype-tvbuff.c 
  Log:
  Make the "fvalue_set" methods for types whose value is allocated free
  any previously-allocated version first, so that they don't leak memory.
  
  From Olivier Biot: add a "proto_item_append_string()" routine, to append
  to the string value a protocol tree item has.
  
  Revision  Changes    Path
  1.18      +11 -2     ethereal/epan/ftypes/ftype-bytes.c
  1.14      +12 -1     ethereal/epan/ftypes/ftype-string.c
  1.12      +12 -2     ethereal/epan/ftypes/ftype-tvbuff.c