[nautilus] icon-container: plug a leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] icon-container: plug a leak
- Date: Tue, 7 Dec 2010 00:09:46 +0000 (UTC)
commit 7686ba98e4283383f4e0b0146cbc693d041c5697
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 7 01:08:01 2010 +0100
icon-container: plug a leak
src/file-manager/fm-icon-container.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/file-manager/fm-icon-container.c b/src/file-manager/fm-icon-container.c
index fb5f602..e310b46 100644
--- a/src/file-manager/fm-icon-container.c
+++ b/src/file-manager/fm-icon-container.c
@@ -106,13 +106,13 @@ fm_icon_container_get_icon_images (NautilusIconContainer *container,
g_strfreev (emblems_to_ignore);
icon_info = nautilus_file_get_icon (file, size, flags);
- pixbuf = nautilus_icon_info_get_pixbuf (icon_info);
/* apply emblems */
if (emblem_icons != NULL) {
l = emblem_icons;
emblem = g_emblem_new (l->data);
+ pixbuf = nautilus_icon_info_get_pixbuf (icon_info);
emblemed_icon = g_emblemed_icon_new (G_ICON (pixbuf), emblem);
g_object_unref (emblem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]