[Xfce4-commits] [apps/xfce4-screenshooter] 13/14: dont try to g_object_unref a ptr which hasnt been used yet

noreply at xfce.org noreply at xfce.org
Mon Dec 15 22:35:07 CET 2014


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

landry pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit efa529ef497bb17653ecd9a098ff890e6239f242
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Dec 15 22:33:17 2014 +0100

    dont try to g_object_unref a ptr which hasnt been used yet
---
 lib/screenshooter-imgur.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/screenshooter-imgur.c b/lib/screenshooter-imgur.c
index f9854ac..5243962 100644
--- a/lib/screenshooter-imgur.c
+++ b/lib/screenshooter-imgur.c
@@ -106,7 +106,6 @@ imgur_upload_job (ScreenshooterJob *job, GValueArray *param_values, GError **err
   mapping = g_mapped_file_new(image_path, FALSE, NULL);
   if (!mapping) {
     g_object_unref (session);
-    g_object_unref (msg);
 
     return FALSE;
   }

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


More information about the Xfce4-commits mailing list