[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 06:00:21 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 5f0e7e73763c9041aeace9db4403d84dc95d67a4
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Apr 2 19:36:09 2002 +0000

    	* kjs/property_map.cpp: (PropertyMap::~PropertyMap): Deallocate the
            map by calling clear so we don't leak the entire map.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@936 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 3a22b10..0543822 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,5 +1,10 @@
 2002-04-02  Darin Adler  <darin at apple.com>
 
+	* kjs/property_map.cpp: (PropertyMap::~PropertyMap): Deallocate the
+        map by calling clear so we don't leak the entire map.
+
+2002-04-02  Darin Adler  <darin at apple.com>
+
 	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
         deallocate and null out emptyList, because once the last interpreter
         is destroyed there's nothing to keep it from being garbage collected.
diff --git a/JavaScriptCore/ChangeLog-2002-12-03 b/JavaScriptCore/ChangeLog-2002-12-03
index 3a22b10..0543822 100644
--- a/JavaScriptCore/ChangeLog-2002-12-03
+++ b/JavaScriptCore/ChangeLog-2002-12-03
@@ -1,5 +1,10 @@
 2002-04-02  Darin Adler  <darin at apple.com>
 
+	* kjs/property_map.cpp: (PropertyMap::~PropertyMap): Deallocate the
+        map by calling clear so we don't leak the entire map.
+
+2002-04-02  Darin Adler  <darin at apple.com>
+
 	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
         deallocate and null out emptyList, because once the last interpreter
         is destroyed there's nothing to keep it from being garbage collected.
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 3a22b10..0543822 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,5 +1,10 @@
 2002-04-02  Darin Adler  <darin at apple.com>
 
+	* kjs/property_map.cpp: (PropertyMap::~PropertyMap): Deallocate the
+        map by calling clear so we don't leak the entire map.
+
+2002-04-02  Darin Adler  <darin at apple.com>
+
 	* kjs/internal.cpp: (InterpreterImp::globalClear): Add code to
         deallocate and null out emptyList, because once the last interpreter
         is destroyed there's nothing to keep it from being garbage collected.
diff --git a/JavaScriptCore/kjs/property_map.cpp b/JavaScriptCore/kjs/property_map.cpp
index 978a367..0e7b405 100644
--- a/JavaScriptCore/kjs/property_map.cpp
+++ b/JavaScriptCore/kjs/property_map.cpp
@@ -24,6 +24,8 @@
 
 #include "property_map.h"
 
+#include <config.h>
+
 #include <string.h>
 #include <assert.h>
 #include <stdio.h>
@@ -126,6 +128,9 @@ PropertyMap::PropertyMap()
 
 PropertyMap::~PropertyMap()
 {
+#ifdef APPLE_CHANGES
+  clear();
+#endif
 }
 
 void PropertyMap::put(const UString &name, ValueImp *value, int attr)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list