Wireshark-commits: [Wireshark-commits] master 57bf7e4: Qt: Fix memory leak for CaptureEvent

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 17 Apr 2018 13:16:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=57bf7e43470f9dc4129a21395a67b5a9b6c959ca
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

57bf7e4 by Roland Knall (rknall@xxxxxxxxx):

    Qt: Fix memory leak for CaptureEvent
    
    Make the argument to the events a non-memory object
    
    Change-Id: I46d8c24415aa2bc48b2a2d3b1fccffa6956d08b5
    Reviewed-on: https://code.wireshark.org/review/26671
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  febaa4f   Qt: Fix segfault bug when analysing SCTP packets
    adds  57bf7e4   Qt: Fix memory leak for CaptureEvent


Summary of changes:
 ui/qt/capture_file.cpp                | 62 ++++++++++++++++++++---------------
 ui/qt/capture_file.h                  |  8 +++--
 ui/qt/expert_info_dialog.cpp          | 10 +++---
 ui/qt/expert_info_dialog.h            |  2 +-
 ui/qt/export_object_action.cpp        |  8 ++---
 ui/qt/export_object_action.h          |  2 +-
 ui/qt/export_object_dialog.cpp        |  6 ++--
 ui/qt/export_object_dialog.h          |  2 +-
 ui/qt/follow_stream_dialog.cpp        |  6 ++--
 ui/qt/follow_stream_dialog.h          |  2 +-
 ui/qt/iax2_analysis_dialog.cpp        |  6 ++--
 ui/qt/iax2_analysis_dialog.h          |  2 +-
 ui/qt/io_graph_dialog.cpp             |  6 ++--
 ui/qt/io_graph_dialog.h               |  2 +-
 ui/qt/main_status_bar.cpp             | 14 ++++----
 ui/qt/main_status_bar.h               |  2 +-
 ui/qt/main_window.cpp                 | 12 +++----
 ui/qt/main_window.h                   |  2 +-
 ui/qt/main_window_slots.cpp           | 34 +++++++++----------
 ui/qt/multicast_statistics_dialog.cpp |  6 ++--
 ui/qt/multicast_statistics_dialog.h   |  2 +-
 ui/qt/traffic_table_dialog.cpp        |  6 ++--
 ui/qt/traffic_table_dialog.h          |  2 +-
 ui/qt/wireshark_application.cpp       |  8 ++---
 ui/qt/wireshark_application.h         |  2 +-
 ui/qt/wireshark_dialog.cpp            |  8 ++---
 ui/qt/wireshark_dialog.h              |  2 +-
 27 files changed, 117 insertions(+), 107 deletions(-)