Wireshark-commits: [Wireshark-commits] rev 45187: /trunk-1.8/ /trunk-1.8/epan/: packet.c /trunk-1.8

Date: Fri, 28 Sep 2012 09:17:40 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45187

User: etxrab
Date: 2012/09/28 02:17 AM

Log:
 Copy over:
 Revision 44814 - Use g_hash_table_new_full() instead of g_hash_table_new() for subdissector
 registration tables, and use g_free as the value_destroy_func. This saves us
 from manually freeing the value when we remove an item, and prevents us from
 leaking memory when we accidentally overwrite an existing item.
 --------------------------------------------------------------------------------
 Revision 44698 - Add casts to fix compilation with GCC.
 Remove * from gconstpointers, they are already pointer types.
 Add modelines to packet.c and clean up indentation a bit.
 --------------------------------------------------------------------------------
 Revision 44697 - Fix memleak.

Directory: /trunk-1.8/epan/
  Changes    Path          Action
  +27 -22    packet.c      Modified

Directory: /trunk-1.8/
  Changes    Path          Action
  +2 -2      tshark.c      Modified