[rhythmbox] shell: remove extra pixbuf unref



commit 1b4d16f62ea102a2658c3dcb4f5caac59addb06a
Author: gkrithi8 <gkrithi8 gmail com>
Date:   Tue Oct 31 17:06:58 2017 +0530

    shell: remove extra pixbuf unref
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789706

 shell/rb-shell.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index a0e0ac8..d1ddeb5 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -373,7 +373,6 @@ load_external_art_cb (RBExtDB *store, GValue *value, RBShell *shell)
 
        pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
        if (accept_art_pixbuf (pixbuf) == FALSE) {
-               g_object_unref (pixbuf);
                g_object_unref (loader);
                return NULL;
        }


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