[tracker] libtracker-miner: Remove wrong call
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Remove wrong call
- Date: Mon, 11 Jan 2016 13:27:59 +0000 (UTC)
commit 686fbc8d15c2da3ef0c17b0d14c88a9a5a93c64c
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 11 14:25:29 2016 +0100
libtracker-miner: Remove wrong call
We already got the task error on the g_task_propagate_boolean()
above, and it's impossible that the task will contain a pointer,
plus we'd leak it if it were the case. So just remove this call.
src/libtracker-miner/tracker-decorator.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator.c b/src/libtracker-miner/tracker-decorator.c
index cdd2ce3..c874f21 100644
--- a/src/libtracker-miner/tracker-decorator.c
+++ b/src/libtracker-miner/tracker-decorator.c
@@ -510,7 +510,6 @@ decorator_task_done (GObject *object,
decorator_blacklist_add (decorator, info->id);
if (error) {
- g_task_propagate_pointer (G_TASK (result), &error);
g_warning ("Task for '%s' finished with error: %s\n",
info->url, error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]