voip_calls_dialog/voip_calls: Fix for duplicated entries after retap
authorJirka Novak <j.novak@netsystem.cz>
Mon, 6 Jan 2020 22:59:29 +0000 (23:59 +0100)
committerAnders Broman <a.broman58@gmail.com>
Tue, 7 Jan 2020 04:46:43 +0000 (04:46 +0000)
commit888137161cd1e4fe48c56cd6681cae5c10deede2
treee4ec46d74aeed75084622b2f7c940c41a57c235b
parent2060e02021939af06ad1bd15e3268ebc6433fa67
voip_calls_dialog/voip_calls: Fix for duplicated entries after retap

Issue seen from 2.6:
1) Open pcap with any VoIP call
2) Open Telephony->VoIP calls
3) Select one or more calls
4) Press Flow Sequence - sequence is shown
5) Close Flow Sequence
6) Press Play Streams - Play dialog is shown
7) Close Play dialog
8) Press Flow Sequence - sequence is shown, but all entries are duplicated

If you repeat 6-7 multiple times, all entries are shown multiple times in 8

Patch adds missing clear of graph_analysis before retaping the stream.
Tested on master, but should be backported to as many stable branches as possible.

Change-Id: I9793f6e874defde2f377732d78689e957df71b33
Reviewed-on: https://code.wireshark.org/review/35672
Petri-Dish: Jim Young <jim.young.ws@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/voip_calls.c