Updating branch refs/heads/master
to aa1199ca63f55ba90db52f7dc3e66ab34921f9b4 (commit)
from 07c66b0fb67c0d5e97e4083409c116814ac5eedb (commit)
commit aa1199ca63f55ba90db52f7dc3e66ab34921f9b4
Author: Stephan Arts <[email protected]>
Date: Thu Oct 13 23:02:19 2011 +0200
Fix leakage of thumbnail-pixbuf
src/thumbnail.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/thumbnail.c b/src/thumbnail.c
index b3ace00..888ec89 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -142,6 +142,11 @@ rstto_thumbnail_finalize(GObject *object)
g_object_unref (thumb->priv->file);
thumb->priv->file = NULL;
}
+ if (thumb->priv->thumb_pixbuf)
+ {
+ g_object_unref (thumb->priv->thumb_pixbuf);
+ thumb->priv->thumb_pixbuf = NULL;
+ }
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits