[gnome-builder/gnome-builder-3-18] ctags: free path_root on finalize



commit fad8ca66502ee8a8e57a9c30e92618dcb96d93b7
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 14 16:16:00 2015 -0700

    ctags: free path_root on finalize

 plugins/ctags/ide-ctags-index.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/ctags/ide-ctags-index.c b/plugins/ctags/ide-ctags-index.c
index 2adfdb6..bd3368f 100644
--- a/plugins/ctags/ide-ctags-index.c
+++ b/plugins/ctags/ide-ctags-index.c
@@ -371,6 +371,7 @@ ide_ctags_index_finalize (GObject *object)
   g_clear_object (&self->file);
   g_clear_pointer (&self->index, g_array_unref);
   g_clear_pointer (&self->buffer, g_bytes_unref);
+  g_clear_pointer (&self->path_root, g_free);
 
   G_OBJECT_CLASS (ide_ctags_index_parent_class)->finalize (object);
 


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