[Xfce4-commits] [xfce/thunar] 01/01: SEGV (11) on USB-flash connection (Bug #13813)
noreply at xfce.org
noreply at xfce.org
Thu May 16 14:29:00 CEST 2019
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 15e26f711834904b123ef75dfdd6154cdcc8186c
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Thu May 16 14:25:53 2019 +0200
SEGV (11) on USB-flash connection (Bug #13813)
---
thunar/thunar-folder.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/thunar/thunar-folder.c b/thunar/thunar-folder.c
index 7ca50b0..9a75174 100644
--- a/thunar/thunar-folder.c
+++ b/thunar/thunar-folder.c
@@ -573,9 +573,12 @@ thunar_folder_finished (ExoJob *job,
}
/* we did it, the folder is loaded */
- g_signal_handlers_disconnect_matched (folder->job, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, folder);
- g_object_unref (folder->job);
- folder->job = NULL;
+ if (G_LIKELY (folder->job != NULL))
+ {
+ g_signal_handlers_disconnect_matched (folder->job, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, folder);
+ g_object_unref (folder->job);
+ folder->job = NULL;
+ }
/* restart the content type idle loader */
thunar_folder_content_type_loader (folder);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list