From 7cd6d10e29c0d54783c33992f596faaac7f1ebd5 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 7 Mar 2008 18:09:32 +0000 Subject: Use g_slice for EphyPasswordInfo, EphyPermissionInfo, PixbufCacheEntry. (#521017) svn path=/trunk/; revision=8054 --- embed/ephy-favicon-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embed/ephy-favicon-cache.c') 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; -- cgit v1.2.3