[libgnome-keyring] Free connection after operation callbacks.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Free connection after operation callbacks.
- Date: Fri, 11 Dec 2009 01:35:53 +0000 (UTC)
commit 2ba6de43b37f8df964d298e37517030d2e849bad
Author: Stef Walter <stef memberwebs com>
Date: Thu Dec 10 22:10:05 2009 +0000
Free connection after operation callbacks.
Some operation callbacks need operation conn during destroy
library/gkr-operation.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/library/gkr-operation.c b/library/gkr-operation.c
index ac45a52..7e03e0d 100644
--- a/library/gkr-operation.c
+++ b/library/gkr-operation.c
@@ -94,12 +94,13 @@ gkr_operation_unref (gpointer data)
op->pending = NULL;
}
+ operation_clear_callbacks (op);
+
if (op->conn) {
dbus_connection_unref (op->conn);
op->conn = NULL;
}
- operation_clear_callbacks (op);
g_slice_free (GkrOperation, op);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]