From b36033459858e4b72296a2f2c172765285ab1ae5 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" <pinkerton%netscape.com> Date: Thu, 22 Jun 2000 08:42:18 +0000 Subject: [PATCH] fix leaked timer, bug 28226, r=hyatt. --- layout/html/forms/src/nsGfxListControlFrame.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layout/html/forms/src/nsGfxListControlFrame.cpp b/layout/html/forms/src/nsGfxListControlFrame.cpp index 978d5ca704ddf..afe9ad70885c7 100644 --- a/layout/html/forms/src/nsGfxListControlFrame.cpp +++ b/layout/html/forms/src/nsGfxListControlFrame.cpp @@ -298,6 +298,11 @@ nsGfxListControlFrame::~nsGfxListControlFrame() if (mSelectionCache) { delete mSelectionCache; } + +#ifdef DO_DRAGGING + NS_IF_RELEASE ( mAutoScrollTimer ); +#endif + } //--------------------------------------------------------- -- GitLab