Yet another fix in dlg_destroy().

svn path=/trunk/; revision=30916
This commit is contained in:
Stig Bjørlykke 2009-11-10 09:30:42 +00:00
parent 7197b85fd6
commit d195614097
1 changed files with 1 additions and 2 deletions

View File

@ -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;