From: Carlos Garcia Campos Date: Wed, 7 Oct 2009 12:42:52 +0000 (+0200) Subject: [shell] Fix a crash due to an uninitialized variable X-Git-Tag: EVINCE_2_29_1~60 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=677ce2c9e5d684bf74b5dd23dee1303b51e2f6a4;p=evince.git [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 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;