diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-09-11 16:10:46 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-09-11 15:36:27 +0000 |
commit | 0332275b161693c76257159c7f5d15f7b1008203 (patch) | |
tree | 4f98fb5f351b7394fe554e2e3173f4af3145bec6 /ui | |
parent | 1d493ce156c4a230bc376d957c196cab31388dd2 (diff) | |
download | wireshark-0332275b161693c76257159c7f5d15f7b1008203.tar.gz |
qt: fix minor memory leaks on exit
Change-Id: I4856b7ce7eec15abe1278e9ba8314be61845347a
Reviewed-on: https://code.wireshark.org/review/17638
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index 2a4f06dbc4..13ed4d9be4 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -918,7 +918,7 @@ void WiresharkApplication::allSystemsGo() err = iface_mon_start(&iface_mon_event_cb); if (err == 0) { if_notifier_ = new QSocketNotifier(iface_mon_get_sock(), - QSocketNotifier::Read); + QSocketNotifier::Read, this); connect(if_notifier_, SIGNAL(activated(int)), SLOT(ifChangeEventsAvailable())); } #endif |