From 677ce2c9e5d684bf74b5dd23dee1303b51e2f6a4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 07 Oct 2009 12:42:52 +0000 Subject: [shell] Fix a crash due to an uninitialized variable Fixes bgo#597154. --- diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index c3df2d8..78784ed 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -116,7 +116,7 @@ static EvThumbsSizeCache * ev_thumbnails_size_cache_new (EvDocument *document) { EvThumbsSizeCache *cache; - EvRenderContext *rc; + EvRenderContext *rc = NULL; gint i, n_pages; EvThumbsSize *thumb_size; -- cgit v0.9.1