aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-contacts.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-02-27 17:11:33 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-02-27 17:11:33 +0800
commit6b93ed2f65445dca1ebcd1dc6d41b701aa3f1595 (patch)
treecf861faeb7967e431b6b0747d73a678925481be4 /plugins/exchange-operations/exchange-contacts.c
parent42ac56f944d7e9c6f227da330d3709c4407a112f (diff)
downloadgsoc2013-evolution-6b93ed2f65445dca1ebcd1dc6d41b701aa3f1595.tar.gz
gsoc2013-evolution-6b93ed2f65445dca1ebcd1dc6d41b701aa3f1595.tar.zst
gsoc2013-evolution-6b93ed2f65445dca1ebcd1dc6d41b701aa3f1595.zip
NULL check for accounts. Fixes #332185.
svn path=/trunk/; revision=31590
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r--plugins/exchange-operations/exchange-contacts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index 67c1d07476..506522038d 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -192,6 +192,10 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data)
}
account = exchange_operations_get_exchange_account ();
+ if (!account) {
+ g_free (contacts_old_src_uri);
+ return NULL;
+ }
account_name = account->account_name;
hbx_size = NULL;