diff options
Diffstat (limited to 'hardinfo2/iconcache.c')
-rw-r--r-- | hardinfo2/iconcache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hardinfo2/iconcache.c b/hardinfo2/iconcache.c index 69e411e5..868185e5 100644 --- a/hardinfo2/iconcache.c +++ b/hardinfo2/iconcache.c @@ -44,6 +44,8 @@ GdkPixbuf *icon_cache_get_pixbuf(const gchar *file) g_free(tmp); } + g_object_ref(icon); + return icon; } @@ -72,6 +74,8 @@ GdkPixbuf *icon_cache_get_pixbuf_at_size(const gchar *file, gint wid, gint hei) g_free(tmp); } + g_object_ref(icon); + return icon; } |