forked from osmocom/wireshark
Yet another fix in dlg_destroy().
svn path=/trunk/; revision=30916
This commit is contained in:
parent
7197b85fd6
commit
d195614097
|
@ -279,13 +279,12 @@ dlg_destroy(void)
|
|||
struct sctp_analyse *child_data;
|
||||
|
||||
j=n_children;
|
||||
list=g_list_last(sctp_assocs->children);
|
||||
for (i=0; i<j; i++)
|
||||
{
|
||||
list=g_list_last(sctp_assocs->children);
|
||||
child_data=(struct sctp_analyse *)list->data;
|
||||
gtk_grab_remove(GTK_WIDGET(child_data->window));
|
||||
gtk_widget_destroy(GTK_WIDGET(child_data->window));
|
||||
list=g_list_previous(list);
|
||||
}
|
||||
g_list_free(sctp_assocs->children);
|
||||
sctp_assocs->children = NULL;
|
||||
|
|
Loading…
Reference in New Issue