X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-pixbuf-cache.c;h=b780724887515fc98a3be7b6e033f3c747c350d9;hb=578c78ee1a5ee3b2aa858ebf257646c195cd9885;hp=1b6966d39b733e2ede96ab3a39043a27b397bd16;hpb=3f175f30d0eb1df7df8894c7ba0949e4cbd23e8f;p=evince.git diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 1b6966d3..b7807248 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -160,6 +160,10 @@ dispose_cache_job_info (CacheJobInfo *job_info, gdk_region_destroy (job_info->selection_region); job_info->selection_region = NULL; } + if (job_info->rc) { + g_object_unref (G_OBJECT (job_info->rc)); + job_info->rc = NULL; + } job_info->selection_points.x1 = -1; job_info->new_points.x1 = -1;