[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Fix another small memleak (Bug #13386)

noreply at xfce.org noreply at xfce.org
Mon Feb 27 22:57:37 CET 2017


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 415cd921717dff745eaf8dc01d32f1c1772dee42
Author: Igor <f2404 at yandex.ru>
Date:   Mon Feb 27 22:56:52 2017 +0100

    Fix another small memleak (Bug #13386)
---
 xfce4-notifyd-config/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
index 6799598..410d742 100644
--- a/xfce4-notifyd-config/main.c
+++ b/xfce4-notifyd-config/main.c
@@ -405,7 +405,7 @@ xfce4_notifyd_known_applications_changed (XfconfChannel *channel,
                     icon = gtk_image_new_from_icon_name (icon_name_new, GTK_ICON_SIZE_MENU);
                 else {
                     icon = gtk_image_new ();
-                    gtk_image_set_pixel_size (GTK_IMAGE(icon), 16);
+                    gtk_image_set_pixel_size (GTK_IMAGE (icon), 16);
                 }
                 g_free (icon_name_new);
             }
@@ -484,6 +484,7 @@ xfce4_notifyd_log_open (GtkButton *button, gpointer user_data) {
         if (!g_app_info_launch_default_for_uri (uri, NULL, NULL))
             g_warning ("Could not open the log file: %s", notify_log_path);
         g_free (uri);
+        g_free (notify_log_path);
     }
 }
 

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


More information about the Xfce4-commits mailing list