[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:22:30 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 700c3d5cc8fd3d79c91c11ecf7d0db92c9d636f0
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 29 16:38:22 2003 +0000

            Reviewed by Ken.
    
    	- 3158477 -- text break locator leak leads to giant (2.04 GB) VSIZE idling at livepage
    
            * khtml/rendering/break_lines.cpp: (isBreakable): Dispose the text locator.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 034f10b..5921fa4 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,11 @@
+2003-01-29  Darin Adler  <darin at apple.com>
+
+        Reviewed by Ken.
+
+	- 3158477 -- text break locator leak leads to giant (2.04 GB) VSIZE idling at livepage
+
+        * khtml/rendering/break_lines.cpp: (isBreakable): Dispose the text locator.
+
 2003-01-28  David Hyatt  <hyatt at apple.com>
 
 	Fix quirks/strict regression caused by improper use of findRev (should
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 034f10b..5921fa4 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,11 @@
+2003-01-29  Darin Adler  <darin at apple.com>
+
+        Reviewed by Ken.
+
+	- 3158477 -- text break locator leak leads to giant (2.04 GB) VSIZE idling at livepage
+
+        * khtml/rendering/break_lines.cpp: (isBreakable): Dispose the text locator.
+
 2003-01-28  David Hyatt  <hyatt at apple.com>
 
 	Fix quirks/strict regression caused by improper use of findRev (should
diff --git a/WebCore/khtml/rendering/break_lines.cpp b/WebCore/khtml/rendering/break_lines.cpp
index 650c742..7910f32 100644
--- a/WebCore/khtml/rendering/break_lines.cpp
+++ b/WebCore/khtml/rendering/break_lines.cpp
@@ -96,6 +96,7 @@ bool isBreakable( const QChar *s, int pos, int len)
         status = UCCreateTextBreakLocator (NULL, 0, kUCTextBreakLineMask, &breakLocator);
         if (status == 0){
             findStatus = UCFindTextBreak (breakLocator, kUCTextBreakLineMask, NULL, (const UniChar *)s, len, pos, &end);
+            UCDisposeTextBreakLocator(breakLocator);
         }
         // If carbon fails, fail back on simple white space detection.
         if (findStatus == 0){

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list