summaryrefslogtreecommitdiff
path: root/ui/qt/sequence_dialog.cpp
diff options
context:
space:
mode:
authorJiri Novak <j.novak@netsystem.cz>2016-12-14 19:37:04 +0100
committerAnders Broman <a.broman58@gmail.com>2016-12-15 05:16:56 +0000
commitbdd166f4a76e0990ad08027e541c3db24f7ca273 (patch)
tree67455a0b92c20ce7aaf8a4b9843ddb1b8e9af69c /ui/qt/sequence_dialog.cpp
parent9090afbfe9a4f9a422409c3f9d410bc3c14fc741 (diff)
downloadwireshark-bdd166f4a76e0990ad08027e541c3db24f7ca273.tar.gz
VoIP Calls/Flow Sequence: Fix of showing nodes from previous call
When VoIP Calls/Flow Sequence generates list of nodes to show (nodes above flow), it do not clear the list from last call. As consequence of it, when second call is between hosts than first call, you see nodes which are not involved in call. Change-Id: I80f9acb09e6aa71b3a32bb6eacaeb5b4bb13b332 Reviewed-on: https://code.wireshark.org/review/19267 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/sequence_dialog.cpp')
-rw-r--r--ui/qt/sequence_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/sequence_dialog.cpp b/ui/qt/sequence_dialog.cpp
index 268125889e..a1d6868465 100644
--- a/ui/qt/sequence_dialog.cpp
+++ b/ui/qt/sequence_dialog.cpp
@@ -85,6 +85,7 @@ SequenceDialog::SequenceDialog(QWidget &parent, CaptureFile &cf, SequenceInfo *i
info_->sainfo()->all_packets = TRUE;
} else {
info_->ref();
+ sequence_analysis_free_nodes(info_->sainfo());
num_items_ = sequence_analysis_get_nodes(info_->sainfo());
}