[gnome-builder] clang: free cached file path during finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: free cached file path during finalize
- Date: Thu, 13 Oct 2016 01:42:00 +0000 (UTC)
commit 6b8b369c65eb7a15986460cbb35f0e728680a356
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 12 18:41:52 2016 -0700
clang: free cached file path during finalize
plugins/clang/ide-clang-symbol-tree.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/clang/ide-clang-symbol-tree.c b/plugins/clang/ide-clang-symbol-tree.c
index 29982c1..ad69abf 100644
--- a/plugins/clang/ide-clang-symbol-tree.c
+++ b/plugins/clang/ide-clang-symbol-tree.c
@@ -231,6 +231,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_OBJECT_CLASS (ide_clang_symbol_tree_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]