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:
Mike Gorse 2013-07-15 12:41:56 -05:00
parent d59c9429de
commit d7e07a8470

View File

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