Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-pixbuf-cache.c
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2005-08-31 08:34:39 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-08-31 08:34:39 (GMT)
commit48ab804ceec8229e351914ec863202418938d5fa (patch)
treed6a5f20d0063ebca806b14048ef0c47522eff7ea /shell/ev-pixbuf-cache.c
parentd40e4e6da847ff39441b16f8e11602b10b7f2f14 (diff)
Plug some memory leaks
2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net> * shell/ev-pixbuf-cache.c: (dispose_cache_job_info): * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose): Plug some memory leaks
Diffstat (limited to 'shell/ev-pixbuf-cache.c')
-rw-r--r--shell/ev-pixbuf-cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c
index 1b6966d..b780724 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;