[Libreoffice-commits] .: UnoControls/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Sat Dec 11 06:23:34 PST 2010
UnoControls/source/base/basecontainercontrol.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74eecabdd5fe23732aa5726f77c41da54eaa10a9
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sat Dec 11 13:11:25 2010 +0100
BaseContainerControl::dispose: fix memory leak
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 783c759..123449f 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -229,7 +229,7 @@ void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException )
for ( nCount = 0; nCount < nMaxCount; ++nCount )
{
- delete maControlInfoList[ 0 ];
+ delete maControlInfoList[ nCount ];
}
maControlInfoList.clear();
More information about the Libreoffice-commits
mailing list