[gnome-photos] base-item: Don't leak the unrendered emblemed icon



commit 2106e56c0d29dfcd0c74e1e291abd475c33647c9
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 22 16:49:55 2014 +0100

    base-item: Don't leak the unrendered emblemed icon
    
    Fixes: https://bugzilla.gnome.org/726903

 src/photos-base-item.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 2de1eda..18e5e91 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -196,6 +196,8 @@ photos_base_item_check_effects_and_update_info (PhotosBaseItem *self)
 
           g_object_unref (icon_info);
         }
+
+      g_object_unref (emblemed_icon);
     }
 
   g_object_unref (priv->icon);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]