From 57bf7e43470f9dc4129a21395a67b5a9b6c959ca Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Wed, 28 Mar 2018 10:04:50 +0200 Subject: 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 --- ui/qt/main_window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/qt/main_window.h') diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index daa0bdb137..427edcef00 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -331,7 +331,7 @@ public slots: private slots: - void captureEventHandler(CaptureEvent * ev); + void captureEventHandler(CaptureEvent ev); // Manually connected slots (no "on__"). -- cgit v1.2.3