Fix the leaking of packet comments, i.e. the rest of
authorEvan Huus <eapache@gmail.com>
Fri, 15 Mar 2013 18:04:50 +0000 (18:04 -0000)
committerEvan Huus <eapache@gmail.com>
Fri, 15 Mar 2013 18:04:50 +0000 (18:04 -0000)
commit32799db42c65f2aa0d9b30212a2bde20b9d96d41
tree57eb7c019916f4fc52ce819fe0ada718ba5beed1
parent574d1ceec3c1b9fae918888d18146ac11ca992e0
Fix the leaking of packet comments, i.e. the rest of
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
epan/frame_data.c
epan/frame_data.h
file.c
frame_data_sequence.c
rawshark.c
tshark.c