[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:24:58 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       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit 7da08ce7a06b96d86c79f386401823da39f3fb17
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