]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Fix a crash due to an uninitialized variable
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 7 Oct 2009 12:42:52 +0000 (14:42 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 7 Oct 2009 12:42:52 +0000 (14:42 +0200)
Fixes bgo#597154.

shell/ev-sidebar-thumbnails.c

index c3df2d8a03b50023479f8828b6b7b702e7378911..78784ed56a1483d861cbba7cc08ad742f9e62941 100644 (file)
@@ -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;