Wireshark-commits: [Wireshark-commits] rev 48324: /trunk/ /trunk/epan/: frame_data.c frame_data.h /

Date: Fri, 15 Mar 2013 18:04:51 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48324

User: eapache
Date: 2013/03/15 11:04 AM

Log:
 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.

Directory: /trunk/epan/
  Changes    Path            Action
  +25 -8     frame_data.c    Modified
  +3 -1      frame_data.h    Modified

Directory: /trunk/
  Changes    Path                     Action
  +2 -4      file.c                   Modified
  +1 -1      frame_data_sequence.c    Modified
  +1 -1      rawshark.c               Modified
  +2 -2      tshark.c                 Modified