summaryrefslogtreecommitdiff
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-11 11:13:23 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-11 20:37:09 +0000
commitb4e972b7297b8835cacfc7ded7170de96140ce37 (patch)
tree7406942cca3cfbc0af3dc2b900b917cb6fe98053 /wireshark-qt.cpp
parenteca15bf5ae681312e3e94eb7d1aca67e9c7c4b90 (diff)
downloadwireshark-b4e972b7297b8835cacfc7ded7170de96140ce37.tar.gz
Fix a bunch of leaks found by Valgrind.
Change-Id: I8862ed15d354aee487bacd80ab5fb4918423287e Reviewed-on: https://code.wireshark.org/review/10487 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 4e3e54f5f5..736f532317 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -769,8 +769,8 @@ DIAG_ON(cast-qual)
main_w->show();
// We may not need a queued connection here but it would seem to make sense
// to force the issue.
- main_w->connect(&ws_app, SIGNAL(openCaptureFile(QString&,QString&,unsigned int)),
- main_w, SLOT(openCaptureFile(QString&,QString&,unsigned int)));
+ main_w->connect(&ws_app, SIGNAL(openCaptureFile(QString,QString,unsigned int)),
+ main_w, SLOT(openCaptureFile(QString,QString,unsigned int)));
/* Init the "Open file" dialog directory */
/* (do this after the path settings are processed) */