Updating branch refs/heads/master
         to 21f850342ff6b54919b3cbd60696dfac09112034 (commit)
       from a2e2bdd92b27ba6b0e8f9296339bd026dd89ddd5 (commit)

commit 21f850342ff6b54919b3cbd60696dfac09112034
Author: Jérôme Guelfucci <jero...@xfce.org>
Date:   Fri Apr 29 18:18:36 2011 +0200

    Plug massive leak when cancelling in actions dialog.
    
    The pixbuf was leaked which had a huge impact on the panel plugin...

 lib/screenshooter-actions.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/screenshooter-actions.c b/lib/screenshooter-actions.c
index 88d7600..0610f6f 100644
--- a/lib/screenshooter-actions.c
+++ b/lib/screenshooter-actions.c
@@ -74,6 +74,8 @@ gboolean screenshooter_action_idle (ScreenshotData *sd)
         {
           if (!sd->plugin)
             gtk_main_quit ();
+
+          g_object_unref (sd->screenshot);
           return FALSE;
         }
     }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to