[Xfce4-commits] <xfdesktop:eric/bugzilla-patches> Fix a segfault when tumbler isn't available.

Eric Koegel noreply at xfce.org
Sat Mar 3 18:10:01 CET 2012


Updating branch refs/heads/eric/bugzilla-patches
         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