[evolution-mapi] Logoff() releases msg_store on its own



commit 3b94edcbb87535a3faac9e30277ec214434d7a2c
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 14 13:04:50 2011 +0100

    Logoff() releases msg_store on its own

 src/libexchangemapi/exchange-mapi-connection.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index f87487b..fd2faa8 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -184,7 +184,8 @@ disconnect (ExchangeMapiConnectionPrivate *priv)
 	if (priv->has_public_store)
 		mapi_object_release (&priv->public_store);
 	Logoff (&priv->msg_store);
-	mapi_object_release (&priv->msg_store);
+	/* it's released by the Logoff() call
+	mapi_object_release (&priv->msg_store); */
 
 	if (priv->named_ids)
 		g_hash_table_remove_all (priv->named_ids);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]