[gnome-builder] vcs: don't leak monitor root GFile
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vcs: don't leak monitor root GFile
- Date: Fri, 3 Aug 2018 21:14:58 +0000 (UTC)
commit df0eeb4bf1764113db8847d3864326cb12408e2b
Author: Christian Hergert <chergert redhat com>
Date: Fri Aug 3 14:13:30 2018 -0700
vcs: don't leak monitor root GFile
src/libide/vcs/ide-vcs-monitor.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/vcs/ide-vcs-monitor.c b/src/libide/vcs/ide-vcs-monitor.c
index 51ef10a40..5f7734ac0 100644
--- a/src/libide/vcs/ide-vcs-monitor.c
+++ b/src/libide/vcs/ide-vcs-monitor.c
@@ -315,6 +315,8 @@ ide_vcs_monitor_dispose (GObject *object)
g_clear_object (&self->monitor);
}
+ g_clear_object (&self->root);
+
G_OBJECT_CLASS (ide_vcs_monitor_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]