From cfa0e5fd53870f297dbec2f0a9aef896ba11f7c5 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 18 Nov 2014 13:13:35 -0800 Subject: 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 --- ui/tap-sequence-analysis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/tap-sequence-analysis.h') 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 */ -- cgit v1.2.1