[gnome-builder] clang: use propery clear function for diagnostics



commit 2f4601fed7c524880f7a136865b9949d9e19babe
Author: Christian Hergert <christian hergert me>
Date:   Thu May 14 05:05:23 2015 -0700

    clang: use propery clear function for diagnostics

 libide/clang/ide-clang-translation-unit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libide/clang/ide-clang-translation-unit.c b/libide/clang/ide-clang-translation-unit.c
index b248f62..3277c20 100644
--- a/libide/clang/ide-clang-translation-unit.c
+++ b/libide/clang/ide-clang-translation-unit.c
@@ -473,7 +473,6 @@ ide_clang_translation_unit_finalize (GObject *object)
   IDE_ENTRY;
 
   clang_disposeTranslationUnit (self->tu);
-  g_clear_pointer (&self->diagnostics, ide_diagnostics_unref);
   g_clear_object (&self->file);
   g_clear_pointer (&self->index, ide_highlight_index_unref);
   g_clear_pointer (&self->diagnostics, g_hash_table_unref);


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