aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-favicon-cache.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-03-08 02:09:32 +0800
committerXan Lopez <xan@src.gnome.org>2008-03-08 02:09:32 +0800
commit7cd6d10e29c0d54783c33992f596faaac7f1ebd5 (patch)
tree5f0c11c69c43a5f8839d23a46d80519b1a12becd /embed/ephy-favicon-cache.c
parent93b01f4ed0944cf698d59be3b8455f6034c39052 (diff)
downloadgsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar.gz
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar.bz2
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar.lz
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar.xz
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.tar.zst
gsoc2013-epiphany-7cd6d10e29c0d54783c33992f596faaac7f1ebd5.zip
Use g_slice for EphyPasswordInfo, EphyPermissionInfo, PixbufCacheEntry. (#521017)
svn path=/trunk/; revision=8054
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r--embed/ephy-favicon-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index cd6ba4862..550c0937b 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -155,7 +155,7 @@ pixbuf_cache_entry_free (PixbufCacheEntry *entry)
g_object_unref (entry->pixbuf);
}
- g_free (entry);
+ g_slice_free (PixbufCacheEntry, entry);
}
static gboolean
@@ -173,7 +173,7 @@ icons_added_cb (EphyNode *node,
EphyNode *child,
EphyFaviconCache *eb)
{
- PixbufCacheEntry *entry = g_new0 (PixbufCacheEntry, 1);
+ PixbufCacheEntry *entry = g_slice_new0 (PixbufCacheEntry);
entry->node = child;