diff --git a/widget/src/gtk/nsGtkEventHandler.cpp b/widget/src/gtk/nsGtkEventHandler.cpp index ac5bcce4947..728aeb6f7b2 100644 --- a/widget/src/gtk/nsGtkEventHandler.cpp +++ b/widget/src/gtk/nsGtkEventHandler.cpp @@ -334,8 +334,9 @@ idle_resize_cb(gpointer data) // info->widget); info->widget->OnResize(*info->rect); NS_RELEASE(info->widget); - // FIXME free info->rect + delete info->rect; g_free(info); + // this will return 0 if the list is // empty. that will remove this idle timeout. // if it's > 1 then it will be restarted and