From 6e8d87276c60eb9c460232ba4ce38526f3c72e9e Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 6 Aug 2001 17:25:53 +0000 Subject: added check for NULL pointers. Maybe fixes #5203 (I can't reproduce it, so 2001-08-06 Rodrigo Moya * 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 --- calendar/cal-client/cal-client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/cal-client') 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) -- cgit v1.2.3