[gnome-builder] workbench: free allocated strings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] workbench: free allocated strings
- Date: Mon, 21 Dec 2015 07:39:27 +0000 (UTC)
commit 73def75237f61af62cd628b104749733a2ec162b
Author: Christian Hergert <chergert redhat com>
Date: Fri Nov 6 14:38:18 2015 -0800
workbench: free allocated strings
libide/ide-workbench.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-workbench.c b/libide/ide-workbench.c
index d5b2d2a..b0439c4 100644
--- a/libide/ide-workbench.c
+++ b/libide/ide-workbench.c
@@ -337,9 +337,9 @@ void
ide_workbench_add_perspective (IdeWorkbench *self,
IdePerspective *perspective)
{
- const gchar *id;
- const gchar *title;
- const gchar *icon_name;
+ g_autofree gchar *icon_name = NULL;
+ g_autofree gchar *id = NULL;
+ g_autofree gchar *title = NULL;
GtkStack *stack;
GtkWidget *titlebar;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]