[gnome-builder/gnome-builder-3-28] clang: free file in symbol tree
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-28] clang: free file in symbol tree
- Date: Wed, 25 Apr 2018 01:42:11 +0000 (UTC)
commit 334ed37d31a0b5c63c397e22178354f69bea6a59
Author: Christian Hergert <chergert redhat com>
Date: Tue Apr 24 18:42:12 2018 -0700
clang: free file in symbol tree
src/plugins/clang/ide-clang-symbol-tree.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/clang/ide-clang-symbol-tree.c b/src/plugins/clang/ide-clang-symbol-tree.c
index 7afa52a48..fe3c9f5ca 100644
--- a/src/plugins/clang/ide-clang-symbol-tree.c
+++ b/src/plugins/clang/ide-clang-symbol-tree.c
@@ -233,6 +233,7 @@ ide_clang_symbol_tree_finalize (GObject *object)
g_clear_pointer (&self->native, ide_ref_ptr_unref);
g_clear_pointer (&self->children, g_array_unref);
g_clear_pointer (&self->path, g_free);
+ g_clear_object (&self->file);
G_OBJECT_CLASS (ide_clang_symbol_tree_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]