[gnome-builder] hover: don't leak providers in hover context
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] hover: don't leak providers in hover context
- Date: Sat, 28 Jul 2018 09:06:58 +0000 (UTC)
commit 360da03045f26e33dce7f6f70e81adb7951d0725
Author: Christian Hergert <chergert redhat com>
Date: Sat Jul 28 02:06:02 2018 -0700
hover: don't leak providers in hover context
src/libide/hover/ide-hover-context.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/hover/ide-hover-context.c b/src/libide/hover/ide-hover-context.c
index b71b3fb18..7490051f7 100644
--- a/src/libide/hover/ide-hover-context.c
+++ b/src/libide/hover/ide-hover-context.c
@@ -63,6 +63,7 @@ ide_hover_context_dispose (GObject *object)
IdeHoverContext *self = (IdeHoverContext *)object;
g_clear_pointer (&self->content, g_array_unref);
+ g_clear_pointer (&self->providers, g_ptr_array_unref);
G_OBJECT_CLASS (ide_hover_context_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]