Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/doc ethereal.pod.template

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: Sat, 5 Jul 2003 19:07:59 -0500 (CDT)
guy         2003/07/05 19:07:59 CDT

  Modified files:
    doc                  ethereal.pod.template 
  Log:
  From Nathan Jennings: "g_list_remove_link()" doesn't free the list item
  itself, so we leaked memory when freeing the interface list; in
  "free_interface_list()", use "g_list_foreach()", calling a list free
  routine, to free the data items in the list, and then use
  "g_list_free()" to free the list.
  
  Use "free_interface_list()" in "get_interface_list()" to free the list
  if we have an error, as it now does what the code that use to be there
  did.
  
  Revision  Changes    Path
  1.431     +1 -0      ethereal/doc/ethereal.pod.template