From 677ce2c9e5d684bf74b5dd23dee1303b51e2f6a4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 7 Oct 2009 14:42:52 +0200 Subject: [PATCH] [shell] Fix a crash due to an uninitialized variable Fixes bgo#597154. --- shell/ev-sidebar-thumbnails.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index c3df2d8a..78784ed5 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; -- 2.43.5