From 1ea43c26e68d92838a7d91dce4fe9686b09f12c7 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Sun, 25 Oct 2015 22:52:30 +0100 Subject: Only store frame number and not a pointer to frame_data structure in seq_analysis_item_t Qt GUI allows to keep windows open after closing the capture file. Let's not access to freed memory. Bug: 11573 Change-Id: I9e70d818a4b228af319961ec512b6b9725792477 Reviewed-on: https://code.wireshark.org/review/11270 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- ui/gtk/voip_calls_dlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/gtk/voip_calls_dlg.c') diff --git a/ui/gtk/voip_calls_dlg.c b/ui/gtk/voip_calls_dlg.c index 082cd0c6dd..dd5abba795 100644 --- a/ui/gtk/voip_calls_dlg.c +++ b/ui/gtk/voip_calls_dlg.c @@ -232,7 +232,7 @@ voip_calls_on_filter(GtkButton *button _U_, gpointer user_data _U_) while (listb) { gai = (seq_analysis_item_t *)listb->data; if (gai->conv_num == listinfo->call_num) { - g_string_append_printf(filter_string_fwd, "%sframe.number == %u", is_first?"":" or ", gai->fd->num); + g_string_append_printf(filter_string_fwd, "%sframe.number == %u", is_first?"":" or ", gai->frame_number); is_first = FALSE; } listb = g_list_next(listb); -- cgit v1.2.1