[gnome-builder] meson: release compile commands on finalize



commit a8df2fd4d2f5572f8533d653989476991c180306
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 18 01:05:24 2017 -0700

    meson: release compile commands on finalize

 src/plugins/meson/gbp-meson-build-system.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/meson/gbp-meson-build-system.c b/src/plugins/meson/gbp-meson-build-system.c
index fc4609b..f6ec47b 100644
--- a/src/plugins/meson/gbp-meson-build-system.c
+++ b/src/plugins/meson/gbp-meson-build-system.c
@@ -314,6 +314,7 @@ gbp_meson_build_system_finalize (GObject *object)
   GbpMesonBuildSystem *self = (GbpMesonBuildSystem *)object;
 
   g_clear_object (&self->project_file);
+  g_clear_object (&self->compile_commands);
 
   G_OBJECT_CLASS (gbp_meson_build_system_parent_class)->finalize (object);
 }


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