[gnome-builder] file-search: don't leak timer object
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] file-search: don't leak timer object
- Date: Thu, 13 Oct 2016 01:34:17 +0000 (UTC)
commit 11cdb306d3542c31e3c047af1669de630c726d93
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 12 18:34:10 2016 -0700
file-search: don't leak timer object
plugins/file-search/gb-file-search-index.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/file-search/gb-file-search-index.c b/plugins/file-search/gb-file-search-index.c
index e5c89fa..1109ac0 100644
--- a/plugins/file-search/gb-file-search-index.c
+++ b/plugins/file-search/gb-file-search-index.c
@@ -216,11 +216,11 @@ gb_file_search_index_builder (GTask *task,
GCancellable *cancellable)
{
GbFileSearchIndex *self = source_object;
+ g_autoptr(GTimer) timer = NULL;
GFile *directory = task_data;
IdeContext *context;
IdeVcs *vcs;
Fuzzy *fuzzy;
- GTimer *timer;
gdouble elapsed;
g_assert (G_IS_TASK (task));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]