[Kazehakase-cvs] CVS update: kazehakase/src

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Sat Jan 6 17:09:44 JST 2007


Index: kazehakase/src/kz-notebook.c
diff -u kazehakase/src/kz-notebook.c:1.14 kazehakase/src/kz-notebook.c:1.15
--- kazehakase/src/kz-notebook.c:1.14	Fri Jan  5 09:12:34 2007
+++ kazehakase/src/kz-notebook.c	Sat Jan  6 17:09:44 2007
@@ -214,6 +214,7 @@
 dispose (GObject *object)
 {
 	KzNotebook *notebook = KZ_NOTEBOOK(object);
+	KzNotebookPrivate *priv = KZ_NOTEBOOK_GET_PRIVATE(notebook);
 
 	if (notebook->kz)
 	{
@@ -221,6 +222,17 @@
 		notebook->kz = NULL;
 	}
 
+	if (priv->open_hist)
+	{
+		g_list_free(priv->open_hist);
+		priv->open_hist = NULL;
+	}
+	if (priv->view_hist)
+	{
+		g_list_free(priv->view_hist);
+		priv->view_hist = NULL;
+	}
+
 	if (G_OBJECT_CLASS(kz_notebook_parent_class)->dispose)
 		G_OBJECT_CLASS(kz_notebook_parent_class)->dispose(object);
 }


More information about the Kazehakase-cvs mailing list
Back to archive index