From ee9477a22ad20abc16f2f18b097e547e77cd7bf6 Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Sun, 14 Mar 1999 23:57:26 +0000 Subject: [PATCH] fix another mem leak. git-svn-id: svn://10.0.0.236/trunk@24147 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsGtkEventHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/src/gtk/nsGtkEventHandler.cpp b/mozilla/widget/src/gtk/nsGtkEventHandler.cpp index ac5bcce4947..728aeb6f7b2 100644 --- a/mozilla/widget/src/gtk/nsGtkEventHandler.cpp +++ b/mozilla/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