[gnome-builder] recent-projects: don't leak groups array
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] recent-projects: don't leak groups array
- Date: Thu, 13 Oct 2016 01:49:54 +0000 (UTC)
commit 6e5996a7bb1060af88097609b8a34b4210cb2273
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 12 18:49:46 2016 -0700
recent-projects: don't leak groups array
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 0485214..5563b0e 100644
--- a/libide/projects/ide-recent-projects.c
+++ b/libide/projects/ide-recent-projects.c
@@ -186,7 +186,7 @@ ide_recent_projects_load_recent (IdeRecentProjects *self)
g_autofree gchar *description = NULL;
const gchar *uri = uris[z];
time_t modified;
- gchar **groups;
+ g_auto(GStrv) groups = NULL;
gsize len;
gsize i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]