diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-11-18 13:13:35 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-11-18 23:37:35 +0000 |
commit | cfa0e5fd53870f297dbec2f0a9aef896ba11f7c5 (patch) | |
tree | e457042154a6db0a30043091cd67a0868741d453 /ui/tap-sequence-analysis.h | |
parent | dc5b8f1093c00e759c842257b1706eab4c08f629 (diff) |
voip_calls: Regression fixes.
Fix struct initialization logic. Clear a GQueue instead of deleting it.
Don't crash if we have no sequence diagram items. Make sure we show all
flows and not just invites. Zero allocated memory in a couple of places.
Change-Id: Ia5bb3ba57cf625de4b554b354e098aa0361dff28
Reviewed-on: https://code.wireshark.org/review/5390
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/tap-sequence-analysis.h')
-rw-r--r-- | ui/tap-sequence-analysis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-sequence-analysis.h b/ui/tap-sequence-analysis.h index b8d03f8bc2..1fedf838af 100644 --- a/ui/tap-sequence-analysis.h +++ b/ui/tap-sequence-analysis.h @@ -71,7 +71,7 @@ typedef struct _seq_analysis_info { gboolean all_packets; /**< all packets vs only displayed */ gboolean any_addr; /**< any addr (DL+net) vs net-only */ int nconv; /**< number of conversations in the list */ - GQueue* items; /**< list with the graph analysis items */ + GQueue* items; /**< list with the graph analysis items */ GHashTable *ht; /**< hash table for retrieving graph analysis items */ address nodes[MAX_NUM_NODES]; /**< horizontal node list */ guint32 num_nodes; /**< actual number of nodes */ |