Wireshark-commits: [Wireshark-commits] rev 20813: /trunk/gtk/ /trunk/gtk/: uat_gui.c

Date: Wed, 14 Feb 2007 19:21:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20813

User: lego
Date: 2007/02/14 07:21 PM

Log:
 From Peter Johansson:
 
 I have provided a patch for a crash that occurs in uat_gui.c if from the
 "Edit preferences..." button when you choose Protocols -> DLT_USER ->
 the "Edit..." button -> the "New" button -> the "Cancel" button.
 The crash happens because dd gets freed prior to traversing its internal
 structure, hence I moved the call to g_free for dd beneath the traversal
 of the dd internals.

Directory: /trunk/gtk/
  Changes    Path          Action
  +2 -1      uat_gui.c     Modified