[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

xan at webkit.org xan at webkit.org
Wed Dec 22 17:48:51 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit d68dbf117d3fd3fd1324035fb93bcc907cdb39da
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 30 20:18:30 2010 +0000

    2010-11-30 Xan Lopez <xlopez at igalia.com>
    
            Reviewed by Martin Robinson.
    
            [GTK] Plug leak in SoupCache
            https://bugs.webkit.org/show_bug.cgi?id=50142
    
            Free the cache file contents when we don't need them anymore.
    
            * platform/network/soup/cache/webkit/soup-cache.c:
            (webkit_soup_cache_load):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 1bb9010..b84aff7 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-30  Xan Lopez  <xlopez at igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Plug leak in SoupCache
+        https://bugs.webkit.org/show_bug.cgi?id=50142
+
+        Free the cache file contents when we don't need them anymore.
+
+        * platform/network/soup/cache/webkit/soup-cache.c:
+        (webkit_soup_cache_load):
+
 2010-11-30  Andras Becsi  <abecsi at webkit.org>
 
         Reviewed by Csaba Osztrogonác.
diff --git a/WebCore/platform/network/soup/cache/webkit/soup-cache.c b/WebCore/platform/network/soup/cache/webkit/soup-cache.c
index f1e5949..b916468 100644
--- a/WebCore/platform/network/soup/cache/webkit/soup-cache.c
+++ b/WebCore/platform/network/soup/cache/webkit/soup-cache.c
@@ -1609,7 +1609,7 @@ webkit_soup_cache_load (WebKitSoupCache *cache)
 	g_free (filename);
 
 	variant_format = g_variant_type_new (WEBKIT_SOUP_CACHE_ENTRIES_FORMAT);
-	cache_variant = g_variant_new_from_data (variant_format, (const gchar *)contents, length, FALSE, NULL, NULL);
+	cache_variant = g_variant_new_from_data (variant_format, (const gchar *)contents, length, FALSE, g_free, contents);
 	g_variant_type_free (variant_format);
 
 	g_variant_get (cache_variant, WEBKIT_SOUP_CACHE_ENTRIES_FORMAT, &entries_iter);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list