[frogr] Removed extra reference, which was causing a leak
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Removed extra reference, which was causing a leak
- Date: Sat, 7 May 2011 15:06:23 +0000 (UTC)
commit 299d75439ce9c3344d66e01f6a52ed1694d602a0
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Sat May 7 16:51:00 2011 +0200
Removed extra reference, which was causing a leak
src/frogr-controller.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index fcd4313..c247b9b 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -1896,7 +1896,7 @@ frogr_controller_set_active_account (FrogrController *self,
if (priv->account)
g_object_unref (priv->account);
- priv->account = g_object_ref (new_account);
+ priv->account = new_account;
fsp_session_set_token (priv->session, token);
/* Prefetch info for this user */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]