[Xfce4-commits] [apps/xfce4-notifyd] 02/02: Unreference gvariants (Bug #12777)

noreply at xfce.org noreply at xfce.org
Tue Aug 30 14:44:50 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-notifyd.

commit dfb514e1740c924cc5ee28c7b4b2d4bf36d65c25
Author: ToZ <tony.paulic at gmail.com>
Date:   Tue Aug 30 14:44:28 2016 +0200

    Unreference gvariants (Bug #12777)
---
 xfce4-notifyd/xfce-notify-daemon.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index 10ee001..d8608ee 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -1095,6 +1095,8 @@ static gboolean notify_notify (XfceNotifyGBus *skeleton,
         }
         else if (g_strcmp0 (key, "x-canonical-private-icon-only") == 0)
             x_canonical = TRUE;
+
+        g_variant_unref (item);
     }
 
     if(expire_timeout == -1)
@@ -1150,6 +1152,7 @@ static gboolean notify_notify (XfceNotifyGBus *skeleton,
                 xfce_notify_window_set_icon_pixbuf(window, pix);
                 g_object_unref(G_OBJECT(pix));
             }
+            g_variant_unref(image_data);
         } else {
             if(desktop_id) {
                 gchar *resource = g_strdup_printf("applications%c%s.desktop",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list