[gnome-builder] toolchain: free the display name on object deletion
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] toolchain: free the display name on object deletion
- Date: Thu, 17 May 2018 16:59:08 +0000 (UTC)
commit c56a028e654dffe2dd88020b7af2b4a692c48a1b
Author: Corentin Noël <corentin noel collabora co uk>
Date: Thu May 17 17:41:11 2018 +0100
toolchain: free the display name on object deletion
src/libide/toolchain/ide-toolchain.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/toolchain/ide-toolchain.c b/src/libide/toolchain/ide-toolchain.c
index a1088aaf2..0222d5e74 100644
--- a/src/libide/toolchain/ide-toolchain.c
+++ b/src/libide/toolchain/ide-toolchain.c
@@ -258,6 +258,7 @@ ide_toolchain_finalize (GObject *object)
IdeToolchainPrivate *priv = ide_toolchain_get_instance_private (self);
g_clear_pointer (&priv->id, g_free);
+ g_clear_pointer (&priv->display_name, g_free);
g_clear_pointer (&priv->host_triplet, ide_triplet_unref);
G_OBJECT_CLASS (ide_toolchain_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]