mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
Don't access memory after freeing it when destroying a tick callback
https://bugzilla.gnome.org/show_bug.cgi?id=704278
This commit is contained in:
parent
d59c9429de
commit
d7e07a8470
@ -4875,7 +4875,10 @@ gtk_widget_remove_tick_callback (GtkWidget *widget,
|
||||
{
|
||||
GtkTickCallbackInfo *info = l->data;
|
||||
if (info->id == id)
|
||||
{
|
||||
destroy_tick_callback_info (widget, info, l);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user