[gnome-settings-daemon] smartcard: Fix run-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] smartcard: Fix run-time warning
- Date: Tue, 24 Sep 2013 10:52:23 +0000 (UTC)
commit 2471d66ab89d06aabfbe395e56e35b0b7d50bff0
Author: Bastien Nocera <hadess hadess net>
Date: Mon Sep 23 16:56:35 2013 +0200
smartcard: Fix run-time warning
Don't unref a destroyed GTask
https://bugzilla.gnome.org/show_bug.cgi?id=708536
plugins/smartcard/gsd-smartcard-manager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/smartcard/gsd-smartcard-manager.c b/plugins/smartcard/gsd-smartcard-manager.c
index c7951c4..78f14a3 100644
--- a/plugins/smartcard/gsd-smartcard-manager.c
+++ b/plugins/smartcard/gsd-smartcard-manager.c
@@ -346,7 +346,6 @@ on_driver_registered (GsdSmartcardManager *self,
if (!register_driver_finish (self, result, &error)) {
g_task_return_error (task, error);
- g_object_unref (task);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]