Wireshark-commits: [Wireshark-commits] rev 44814: /trunk/epan/ /trunk/epan/: packet.c
Date: Sat, 08 Sep 2012 15:03:08 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44814

User: eapache
Date: 2012/09/08 08:03 AM

Log:
 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.

Directory: /trunk/epan/
  Changes    Path          Action
  +8 -16     packet.c      Modified