[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Minor Memory leaks

noreply at xfce.org noreply at xfce.org
Sun May 22 21:55:42 CEST 2016


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

ochosi pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.

commit d742d8c323bc5015d85734a95f773d66ed76e51c
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Fri May 20 00:40:36 2016 +0200

    Minor Memory leaks
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
 panel-plugin/actions.c             | 1 +
 panel-plugin/xfce4-popup-clipman.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/panel-plugin/actions.c b/panel-plugin/actions.c
index 87613da..4bb7001 100644
--- a/panel-plugin/actions.c
+++ b/panel-plugin/actions.c
@@ -432,6 +432,7 @@ static void
 __clipman_actions_entry_free (ClipmanActionsEntry *entry)
 {
   g_free (entry->action_name);
+  g_free (entry->pattern);
   g_regex_unref (entry->regex);
   g_hash_table_destroy (entry->commands);
   g_slice_free (ClipmanActionsEntry, entry);
diff --git a/panel-plugin/xfce4-popup-clipman.c b/panel-plugin/xfce4-popup-clipman.c
index afeb96d..41b2c32 100644
--- a/panel-plugin/xfce4-popup-clipman.c
+++ b/panel-plugin/xfce4-popup-clipman.c
@@ -43,6 +43,7 @@ clipman_plugin_check_is_running (GtkWidget *widget,
   selection_name = g_strdup_printf (XFCE_CLIPMAN_SELECTION"%d",
                                     gdk_screen_get_number (gscreen));
   selection_atom = XInternAtom (display, selection_name, FALSE);
+  g_free(selection_name);
 
   if ((*xid = XGetSelectionOwner (display, selection_atom)))
     return TRUE;

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


More information about the Xfce4-commits mailing list