[Xfce4-commits] <xfdesktop:master> Fix a segfault when tumbler isn't available.

Eric Koegel noreply at xfce.org
Mon Mar 5 19:30:20 CET 2012


Updating branch refs/heads/master
         to ada952534e6d740cf3a8309c6465d853d9c253ad (commit)
       from 95a5f72c444ff26777831fdffcffe64015324c4c (commit)

commit ada952534e6d740cf3a8309c6465d853d9c253ad
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Feb 26 15:49:11 2012 +0300

    Fix a segfault when tumbler isn't available.
    
    The patch was provided by Lionel Le Folgoc <lionel at lefolgoc.net>

 common/xfdesktop-thumbnailer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/xfdesktop-thumbnailer.c b/common/xfdesktop-thumbnailer.c
index 3cc157b..accc561 100644
--- a/common/xfdesktop-thumbnailer.c
+++ b/common/xfdesktop-thumbnailer.c
@@ -130,8 +130,8 @@ xfdesktop_thumbnailer_init(GObject *object)
                                     "org.freedesktop.thumbnails.Thumbnailer1");
 
         if(thumbnailer->priv->proxy) {
-            gchar **supported_uris;
-            gchar **supported_flavors;
+            gchar **supported_uris = NULL;
+            gchar **supported_flavors = NULL;
 
             dbus_g_object_register_marshaller(
                     (GClosureMarshal) xfdesktop_marshal_VOID__UINT_BOXED,


More information about the Xfce4-commits mailing list