Wireshark-commits: [Wireshark-commits] rev 48030: /trunk/ /trunk/: frame_data_sequence.c

Date: Sun, 03 Mar 2013 03:26:10 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48030

User: eapache
Date: 2013/03/02 07:26 PM

Log:
 Rewrite free_frame_data_sequence to use recursion instead of manually nested
 loops.
 
 This allows us to do the calculations to actually free all the frame data
 instances correctly - the previous version was missing many of them,
 leading to large memory leaks when given lots of frames that made use of
 p_add_proto_data.
 
 Fixes the rest of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7885

Directory: /trunk/
  Changes    Path                     Action
  +75 -47    frame_data_sequence.c    Modified