aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-09-15 14:33:37 +0200
committerMichael Mann <mmann78@netscape.net>2017-09-15 14:59:23 +0000
commit98d5174e1a82723bee99774294ff00e40154ad5e (patch)
treee422b473a7d72a481a1c40a2a5143e5562a42e87 /ui
parent72355a081795a0a5d4a984ba04633da30debe9d9 (diff)
Qt: initialize srt_data_ in constructor (CID 1417727)
Change-Id: I4977ff102f1ffb11a5ea956537dde3230b4323f7 Reviewed-on: https://code.wireshark.org/review/23550 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/service_response_time_dialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/service_response_time_dialog.cpp b/ui/qt/service_response_time_dialog.cpp
index 9ab5b7420a..1e142efea9 100644
--- a/ui/qt/service_response_time_dialog.cpp
+++ b/ui/qt/service_response_time_dialog.cpp
@@ -184,6 +184,9 @@ ServiceResponseTimeDialog::ServiceResponseTimeDialog(QWidget &parent, CaptureFil
setWindowSubtitle(subtitle);
loadGeometry(0, 0, "ServiceResponseTimeDialog");
+ srt_data_.srt_array = NULL;
+ srt_data_.user_data = NULL;
+
// Add number of columns for this stats_tree
QStringList header_labels;
for (int col = 0; col < NUM_SRT_COLUMNS; col++) {