[Xfce4-commits] [xfce/thunar] 01/01: Fix free of NULL pointer which caused GLib-GObject-CRITICAL

noreply at xfce.org noreply at xfce.org
Wed Sep 26 21:21:04 CEST 2018


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

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 19f00a33cbbd66c8d131c150b0c35db1e592539b
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Wed Sep 26 21:20:36 2018 +0200

    Fix free of NULL pointer which caused GLib-GObject-CRITICAL
---
 thunar/thunar-thumbnailer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/thunar/thunar-thumbnailer.c b/thunar/thunar-thumbnailer.c
index 525445f..0c45fd0 100644
--- a/thunar/thunar-thumbnailer.c
+++ b/thunar/thunar-thumbnailer.c
@@ -988,9 +988,8 @@ thunar_thumbnailer_idle_func (gpointer user_data)
             {
               _thunar_assert_not_reached ();
             }
+          g_object_unref (file);
         }
-
-      g_object_unref (file);
     }
 
   /* remove the idle struct */

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


More information about the Xfce4-commits mailing list