Wireshark-commits: [Wireshark-commits] rev 43920: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sun, 22 Jul 2012 21:48:51 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43920

User: eapache
Date: 2012/07/22 02:48 PM

Log:
 The XMPP dissector was allocating a new parser for every packet and never
 freeing them. This was slow and leaked gobs of memory.
 
 Be like XML: allocate one parser during set-up and share it around.

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +32 -17    packet-xmpp-core.c     Modified
  +7 -0      packet-xmpp-core.h     Modified
  +2 -7      packet-xmpp-utils.c    Modified
  +2 -0      packet-xmpp.c          Modified