aboutsummaryrefslogtreecommitdiffstats
path: root/frame_data_sequence.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-11Move some more modules into epan.Jeff Morriss1-338/+0
svn path=/trunk/; revision=50517
2013-05-22Make a routine not called from outside the file static.Guy Harris1-1/+1
svn path=/trunk/; revision=49520
2013-03-27From Hadriel Kaplan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8223Evan Huus1-0/+13
Add a 2-pass display-filter flag to tshark so that reassembly and other forward- looking dissections can be used with filters. It's a bit of a hack, but this entire area of 2-pass analysis etc. is a giant pile of hacks to begin with and needs cleaning up. For now just having this feature is a big enough win. svn path=/trunk/; revision=48589
2013-03-15Fix the leaking of packet comments, i.e. the rest ofEvan Huus1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7530 The frame_data_cleanup function was ambiguous; it was being used for two different purposes, and did neither of them quite properly. Split it instead into frame_data_reset and frame_data_destroy, and call the correct one depending on why we were originally calling frame_data_cleanup. svn path=/trunk/; revision=48324
2013-03-03Rewrite free_frame_data_sequence to use recursion instead of manually nestedEvan Huus1-47/+75
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 svn path=/trunk/; revision=48030
2013-03-02From beroset:Anders Broman1-31/+31
remove C++ incompatibilities from frame_data_sequence.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=47999
2012-12-01Fix potential copy-and-pasto in free_frame_data_sequence that may or may notEvan Huus1-2/+2
be the cause of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8022 svn path=/trunk/; revision=46315
2012-11-11Call frame_data_cleanup() before freeing frame_data structures inEvan Huus1-3/+9
free_frame_data_sequence(). Prevents part of the leak identified in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7885 svn path=/trunk/; revision=46000
2012-11-06Fix small memleak: always free fds in free_frame_data_sequence()Jakub Zawadzki1-4/+1
svn path=/trunk/; revision=45949
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-09-18Use g_malloc0Jakub Zawadzki1-18/+9
svn path=/trunk/; revision=44984
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-04-27Make the frame_data_sequence structure opaque, and move some otherGuy Harris1-9/+27
implementation details into frame_data_sequence.c as well. svn path=/trunk/; revision=36886
2011-04-27Create a new frame_data_sequence data type; it represents a denseGuy Harris1-0/+287
sequence of frame_data structures, indexed by the frame number. Extract the relevant bits of the capture_file data structure and move them to the frame_data_sequence, and move the relevant code from cfile.c and tweak it to handle frame_data_sequence structures. Have a possibly-null pointer to a frame_data_sequence structure in the capture_file structure; if it's null, we aren't keeping a sequence of frame_data structures (we don't keep that sequence when we're doing one-pass processing in TShark). Nothing in libwireshark should care about a capture_file structure; get rid of some unnecessary includes of cfile.h. svn path=/trunk/; revision=36881