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

Date: Wed, 30 Oct 2013 01:42:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52977

User: eapache
Date: 2013/10/30 01:42 AM

Log:
 When adding an entry to a dissector string table, take a copy of the pattern
 string (and pass g_free to g_hash_table_new_full to free it).
 
 This means callers don't have to worry about the scope of the memory they pass
 in, and fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9296

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