[gnome-builder] code-index: don't leak source directory GFile
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: don't leak source directory GFile
- Date: Tue, 7 Aug 2018 22:31:29 +0000 (UTC)
commit 1dc6637b460853c554e22da568a08ddc7c851939
Author: Christian Hergert <chergert redhat com>
Date: Tue Aug 7 15:30:05 2018 -0700
code-index: don't leak source directory GFile
src/plugins/code-index/ide-code-index-index.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/code-index/ide-code-index-index.c b/src/plugins/code-index/ide-code-index-index.c
index 12371c110..84238773e 100644
--- a/src/plugins/code-index/ide-code-index-index.c
+++ b/src/plugins/code-index/ide-code-index-index.c
@@ -79,6 +79,7 @@ directory_index_free (DirectoryIndex *data)
g_clear_object (&data->symbol_names);
g_clear_object (&data->symbol_keys);
g_clear_object (&data->directory);
+ g_clear_object (&data->source_directory);
g_slice_free (DirectoryIndex, data);
DZL_COUNTER_DEC (code_indexes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]