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

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:44:03 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 699795c94c216b55ac9cdbd66444394f80dfe6e1
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jun 4 20:35:25 2003 +0000

    	Fix for 3273300, leaks in cssyyparse.  Function forgot to delete
    	its args value list when destroyed.
    
            Reviewed by gramps
    
            * khtml/css/cssparser.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 9b7eb03..3376de8 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-06-04  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3273300, leaks in cssyyparse.  Function forgot to delete
+	its args value list when destroyed.
+	
+        Reviewed by gramps
+
+        * khtml/css/cssparser.h:
+
 2003-06-03  David Hyatt  <hyatt at apple.com>
 
 	Fix for 3259647, crash when printing a table page.  This is fixed
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 9b7eb03..3376de8 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-06-04  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3273300, leaks in cssyyparse.  Function forgot to delete
+	its args value list when destroyed.
+	
+        Reviewed by gramps
+
+        * khtml/css/cssparser.h:
+
 2003-06-03  David Hyatt  <hyatt at apple.com>
 
 	Fix for 3259647, crash when printing a table page.  This is fixed
diff --git a/WebCore/khtml/css/cssparser.h b/WebCore/khtml/css/cssparser.h
index 2d05168..32d45c1 100644
--- a/WebCore/khtml/css/cssparser.h
+++ b/WebCore/khtml/css/cssparser.h
@@ -47,12 +47,8 @@ namespace DOM {
 
     struct Value;
     class ValueList;
-
-    struct Function {
-	ParseString name;
-	ValueList *args;
-    };
-
+    struct Function;
+    
     struct Value {
 	int id;
 	union {
@@ -90,6 +86,13 @@ namespace DOM {
 	int currentValue;
     };
 
+    struct Function {
+        ParseString name;
+        ValueList *args;
+
+        ~Function() { delete args; }
+    };
+
     class CSSParser
     {
     public:

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list