Wireshark-commits: [Wireshark-commits] rev 43188: /trunk/ /trunk/ui/gtk/: main_proto_draw.c packet_

Date: Sun, 10 Jun 2012 22:03:18 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43188

User: darkjames
Date: 2012/06/10 03:03 PM

Log:
 Clear GtkTreeStore before freeing edt
 
 When building current data for packet details treeview we store two things.
 - Generated string with item label
 - Pointer to node field_info structure
 
 After epan_dissect_{free, cleanup} pointer to field_info node is no longer
 valid so we should clear GtkTreeStore before freeing.

Directory: /trunk/ui/gtk/
  Changes    Path                 Action
  +4 -4      main_proto_draw.c    Modified
  +4 -0      packet_win.c         Modified

Directory: /trunk/
  Changes    Path          Action
  +13 -8     file.c        Modified