[gnome-builder] GbEditorDocument: release doc sequence id on finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] GbEditorDocument: release doc sequence id on finalize
- Date: Fri, 19 Dec 2014 04:14:04 +0000 (UTC)
commit 03ab17cbfcae6c00e4e35b7e3181988660eb1ac1
Author: Christian Hergert <christian hergert me>
Date: Thu Dec 18 20:13:54 2014 -0800
GbEditorDocument: release doc sequence id on finalize
src/editor/gb-editor-document.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-document.c b/src/editor/gb-editor-document.c
index 2257bbc..e5a52cb 100644
--- a/src/editor/gb-editor-document.c
+++ b/src/editor/gb-editor-document.c
@@ -1316,6 +1316,12 @@ gb_editor_document_finalize (GObject *object)
ENTRY;
+ if (priv->doc_seq_id)
+ {
+ gb_doc_seq_release (priv->doc_seq_id);
+ priv->doc_seq_id = 0;
+ }
+
g_clear_object (&priv->file);
g_clear_object (&priv->change_monitor);
g_clear_object (&priv->code_assistant);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]