[gnome-builder] glade: fix leak of project GFile
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] glade: fix leak of project GFile
- Date: Mon, 22 Oct 2018 20:58:19 +0000 (UTC)
commit a86cab1bc2ac768fc93ae95a23f804e068f6b6c9
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 22 13:57:18 2018 -0700
glade: fix leak of project GFile
src/plugins/glade/gbp-glade-view.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/glade/gbp-glade-view.c b/src/plugins/glade/gbp-glade-view.c
index f7e77f7e4..0a82d0c07 100644
--- a/src/plugins/glade/gbp-glade-view.c
+++ b/src/plugins/glade/gbp-glade-view.c
@@ -87,6 +87,7 @@ gbp_glade_view_dispose (GObject *object)
{
GbpGladeView *self = (GbpGladeView *)object;
+ g_clear_object (&self->file);
g_clear_object (&self->project);
G_OBJECT_CLASS (gbp_glade_view_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]