Xfce Wiki

Sub domains
 
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor <f2404@yandex.ru>2017-02-27 22:56:52 +0100
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2017-02-27 22:57:30 +0100
commit415cd921717dff745eaf8dc01d32f1c1772dee42 (patch)
treefdd034f205d5c8472d3e6981216ba0417b08ad06
parent16660fa212641ea15871e792744cc97f03c91968 (diff)
downloadxfce4-notifyd-415cd921717dff745eaf8dc01d32f1c1772dee42.tar.gz
Fix another small memleak Bug #13386
-rw-r--r--xfce4-notifyd-config/main.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}