aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-08-07 01:25:53 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-08-07 01:25:53 +0800
commit6e8d87276c60eb9c460232ba4ce38526f3c72e9e (patch)
tree2a9466292ebba2962b7139c15f2d99fdb77827a3 /calendar/cal-client/cal-client.c
parent7ebb69efa28ff4274bf1f0b3aeba8d271c6c1d09 (diff)
downloadgsoc2013-evolution-6e8d87276c60eb9c460232ba4ce38526f3c72e9e.tar.gz
gsoc2013-evolution-6e8d87276c60eb9c460232ba4ce38526f3c72e9e.tar.zst
gsoc2013-evolution-6e8d87276c60eb9c460232ba4ce38526f3c72e9e.zip
added check for NULL pointers. Maybe fixes #5203 (I can't reproduce it, so
2001-08-06 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (destroy_wombat_client): added check for NULL pointers. Maybe fixes #5203 (I can't reproduce it, so I'm not sure) svn path=/trunk/; revision=11702
Diffstat (limited to 'calendar/cal-client/cal-client.c')
-rw-r--r--calendar/cal-client/cal-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 4a1a7d2edc..41e42613bb 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -216,6 +216,9 @@ destroy_wombat_client (CalClient *client)
{
CalClientPrivate *priv;
+ g_return_if_fail (client != NULL);
+ g_return_if_fail (IS_CAL_CLIENT (client));
+
priv = client->priv;
if (!priv->w_client)