[gnome-builder] libide: make sure that autoptr doesn't cleanup if we stole array
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: make sure that autoptr doesn't cleanup if we stole array
- Date: Tue, 24 Mar 2015 00:12:13 +0000 (UTC)
commit d4309c8ef10d213cfb27a4f0cac7d96da92a7f56
Author: Christian Hergert <christian hergert me>
Date: Wed Mar 11 14:08:37 2015 -0700
libide: make sure that autoptr doesn't cleanup if we stole array
libide/autotools/ide-makecache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/autotools/ide-makecache.c b/libide/autotools/ide-makecache.c
index bfe3b58..5554bcd 100644
--- a/libide/autotools/ide-makecache.c
+++ b/libide/autotools/ide-makecache.c
@@ -269,6 +269,7 @@ ide_makecache_get_file_targets_searched (IdeMakecache *self,
g_ptr_array_add (targets, NULL);
ret = (gchar **)g_ptr_array_free (targets, FALSE);
+ targets = NULL;
#ifndef IDE_DISABLE_TRACE
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]