[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix CID 213274: Dereference before null check
noreply at xfce.org
noreply at xfce.org
Fri Jun 7 05:25:40 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e 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 apps/xfce4-screensaver.
commit d6d510d5b677c373cd0da85e9a1c93374cbc5be3
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Thu Jun 6 23:25:34 2019 -0400
Fix CID 213274: Dereference before null check
---
savers/gste-slideshow.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/savers/gste-slideshow.c b/savers/gste-slideshow.c
index 33b169c..6a62de6 100644
--- a/savers/gste-slideshow.c
+++ b/savers/gste-slideshow.c
@@ -622,9 +622,7 @@ load_threadfunc (GAsyncQueue *op_q) {
op_load_image (op->slideshow,
op->location);
- if (op->slideshow != NULL) {
- g_object_unref (op->slideshow);
- }
+ g_object_unref (op->slideshow);
g_free (op->location);
g_free (op);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list