diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-02-03 23:15:56 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-02-10 13:34:56 +0000 |
commit | 9ced31a2d7a78e22454aba5fa1a0f2655e2a57cf (patch) | |
tree | e9aab4f6751f3c9c187b805a23138278e3ff154c /ui/qt/wireshark_application.cpp | |
parent | 59fc668845e57cf988226c3c19984c8bd83458d3 (diff) | |
download | wireshark-9ced31a2d7a78e22454aba5fa1a0f2655e2a57cf.tar.gz |
filter_list: add cleanup function and call it on exit.
Change-Id: I51d8074cc5a63d4fd3af8852df120d6b4163217f
Reviewed-on: https://code.wireshark.org/review/19942
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index f9bcfd7a83..a136bc3d74 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -716,6 +716,11 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) : connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(cleanup())); } +WiresharkApplication::~WiresharkApplication() +{ + free_filter_lists(); +} + void WiresharkApplication::registerUpdate(register_action_e action, const char *message) { emit splashUpdate(action, message); |