[goffice] fixed finalization



commit 6f1e2929ea4d3107ab4ca0a1c44f8d02e7b192a6
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Sep 5 07:11:28 2009 +0200

    fixed finalization

 ChangeLog                    |    5 +++++
 goffice/graph/gog-equation.c |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0481bb9..f02ac00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-05  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/graph/gog-equation.c (gog_equation_finalize),
+	(gog_equation_view_finalize): call parent class finalize methods. [#594189]
+
 2009-09-04  Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
 
 	Conditional use of Use AM_SILENT_RULES (if automake-1.11 is present).
diff --git a/goffice/graph/gog-equation.c b/goffice/graph/gog-equation.c
index 730b15d..0c962e2 100644
--- a/goffice/graph/gog-equation.c
+++ b/goffice/graph/gog-equation.c
@@ -305,6 +305,7 @@ gog_equation_finalize (GObject *object)
 	if (equation->mathml)
 		g_object_unref (equation->mathml);
 	g_free (equation->itex);
+	((GObjectClass *) equation_parent_klass)->finalize (object);
 }
 
 static void
@@ -424,6 +425,7 @@ gog_equation_view_finalize (GObject *object)
 
 	if (view->mathml_view != NULL)
 		g_object_unref (view->mathml_view);
+	((GObjectClass *) equation_view_parent_klass)->finalize (object);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]