[gnome-builder/gnome-builder-3-20] makecache: ensure argv is released when parsing includes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-20] makecache: ensure argv is released when parsing includes
- Date: Thu, 19 May 2016 10:04:19 +0000 (UTC)
commit 6367bbba96732ab77c8d54cfab27a5fc8503716c
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 03b83f7..1007eac 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]