[gnome-builder] makecache: ensure argv is released when parsing includes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] makecache: ensure argv is released when parsing includes
- Date: Thu, 19 May 2016 09:32:45 +0000 (UTC)
commit fc27584f22f8074d024d9f9171ca6b5a7c0ad03c
Author: Christian Hergert <chergert redhat com>
Date: Thu May 19 12:31:36 2016 +0300
makecache: ensure argv is released when parsing includes
plugins/autotools/ide-makecache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/autotools/ide-makecache.c b/plugins/autotools/ide-makecache.c
index e2da557..95cf869 100644
--- a/plugins/autotools/ide-makecache.c
+++ b/plugins/autotools/ide-makecache.c
@@ -753,7 +753,7 @@ ide_makecache_parse_c_cxx (IdeMakecache *self,
GPtrArray *ret)
{
gint argc = 0;
- gchar **argv = NULL;
+ g_auto(GStrv) argv = NULL;
gboolean in_expand = FALSE;
GError *error = NULL;
gsize i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]