evolution-data-server/bnc-181906-eds-ex-crash.diff

17 lines
692 B
Diff
Raw Normal View History

Index: servers/exchange/storage/exchange-account.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/exchange/storage/exchange-account.c,v
retrieving revision 1.32
diff -u -p -r1.32 exchange-account.c
--- servers/exchange/storage/exchange-account.c 10 May 2006 08:55:24 -0000 1.32
+++ servers/exchange/storage/exchange-account.c 6 Jun 2006 08:24:29 -0000
@@ -1984,6 +1984,8 @@ exchange_account_new (EAccountList *acco
}
account = g_object_new (EXCHANGE_TYPE_ACCOUNT, NULL);
+ if (!account)
+ return NULL;
account->priv->account_list = account_list;
g_object_ref (account_list);
account->priv->account = adata;