[Xfce4-commits] <xfce4-indicator-plugin:master> Plugged a memory leak.

Andrzej noreply at xfce.org
Thu Apr 4 17:44:21 CEST 2013


Updating branch refs/heads/master
         to 94c371f5760b00df1cbba141a12c3192aa339e2b (commit)
       from 1c76403a300e778ca5e170acbbf3f01dde9c8c18 (commit)

commit 94c371f5760b00df1cbba141a12c3192aa339e2b
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue Dec 25 23:56:10 2012 +0000

    Plugged a memory leak.

 panel-plugin/indicator-button.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/indicator-button.c b/panel-plugin/indicator-button.c
index 109544f..74f7d28 100644
--- a/panel-plugin/indicator-button.c
+++ b/panel-plugin/indicator-button.c
@@ -228,6 +228,7 @@ xfce_indicator_button_update_icon (XfceIndicatorButton *button)
           (pixbuf_s, (gint) (size * aspect), size,
            GDK_INTERP_BILINEAR);
       xfce_panel_image_set_from_pixbuf (XFCE_PANEL_IMAGE (button->icon), pixbuf_d);
+      g_object_unref (G_OBJECT (pixbuf_d));
     }
   else
     {


More information about the Xfce4-commits mailing list