Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-gssapi.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Aug 2002 13:52:51 -0500 (CDT)
guy         2002/08/26 13:52:51 CDT

  Modified files:
    .                    packet-gssapi.c 
  Log:
  Plug a memory leak, by freeing the OID string generated by
  "format_oid()" after we're done with it.
  
  "format_oid()" doesn't necessarily generate a string containing only the
  numerical OID value, so we can't use that string to search for an OID in
  the OID hash table.  Generate the string used in that lookup ourselves,
  instead.
  
  Revision  Changes    Path
  1.4       +27 -5     ethereal/packet-gssapi.c