[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 17/28: Minor memory leak; unused variable
noreply at xfce.org
noreply at xfce.org
Thu May 19 20:06:19 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 8cd1de515756d93d748d727cd845490ef8b409a6
Author: Florian Schüller <florian.schueller at gmail.com>
Date: Thu May 12 22:58:57 2016 +0200
Minor memory leak; unused variable
---
panel-plugin/plugin.c | 2 ++
panel-plugin/xfce4-popup-clipman.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/plugin.c b/panel-plugin/plugin.c
index e03c525..1b9f415 100644
--- a/panel-plugin/plugin.c
+++ b/panel-plugin/plugin.c
@@ -394,6 +394,8 @@ my_plugin_set_popup_selection (MyPlugin *plugin)
gdk_screen_get_number (gscreen));
selection_atom = XInternAtom (display, selection_name, FALSE);
+ g_free(selection_name);
+
if (XGetSelectionOwner (display, selection_atom))
{
gtk_widget_destroy (win);
diff --git a/panel-plugin/xfce4-popup-clipman.c b/panel-plugin/xfce4-popup-clipman.c
index 14c90f4..1698624 100644
--- a/panel-plugin/xfce4-popup-clipman.c
+++ b/panel-plugin/xfce4-popup-clipman.c
@@ -53,7 +53,6 @@ clipman_plugin_check_is_running (GtkWidget *widget,
gint
main (gint argc, gchar *argv[])
{
- GdkEvent gev;
GtkWidget *win;
Window id;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list