diff options
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r-- | embed/ephy-favicon-cache.c | 4 |
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; |