[gnome-builder] recent-projects: don't leak description from bookmark file



commit fd739a656fe75cdbae8c3abcc920f58ffafda2e6
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 12 18:48:00 2016 -0700

    recent-projects: don't leak description from bookmark file

 libide/projects/ide-recent-projects.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/projects/ide-recent-projects.c b/libide/projects/ide-recent-projects.c
index afdacd5..0485214 100644
--- a/libide/projects/ide-recent-projects.c
+++ b/libide/projects/ide-recent-projects.c
@@ -183,7 +183,7 @@ ide_recent_projects_load_recent (IdeRecentProjects *self)
       g_autoptr(GPtrArray) languages = NULL;
       g_autoptr(IdeProjectInfo) project_info = NULL;
       g_autofree gchar *name = NULL;
-      const gchar *description;
+      g_autofree gchar *description = NULL;
       const gchar *uri = uris[z];
       time_t modified;
       gchar **groups;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]