[lasem] Fixed critical in lsm_dom_view_finalize. [#622856]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] Fixed critical in lsm_dom_view_finalize. [#622856]
- Date: Sun, 27 Jun 2010 09:15:42 +0000 (UTC)
commit 3124be20017c97f1c4386eb6137cf68ea80c271e
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Jun 27 11:15:23 2010 +0200
Fixed critical in lsm_dom_view_finalize. [#622856]
src/lsmdomview.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/lsmdomview.c b/src/lsmdomview.c
index ca1f4cf..f2b20b2 100644
--- a/src/lsmdomview.c
+++ b/src/lsmdomview.c
@@ -217,7 +217,8 @@ lsm_dom_view_finalize (GObject *object)
{
LsmDomView *view = LSM_DOM_VIEW (object);
- g_object_unref (view->document);
+ if (view->document)
+ g_object_unref (view->document);
if (view->pango_layout != NULL)
g_object_unref (view->pango_layout);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]