Fix a critical warning crasher
Chenthill Palanisamy
12 years ago
327 | 327 | camel_service_lock (service, CAMEL_SERVICE_REC_CONNECT_LOCK); |
328 | 328 | |
329 | 329 | /* TODO cancel all operations in the connection */ |
330 | g_object_unref (ews_store->priv->cnc); | |
331 | ews_store->priv->cnc = NULL; | |
330 | if (ews_store->priv->cnc) { | |
331 | g_object_unref (ews_store->priv->cnc); | |
332 | ews_store->priv->cnc = NULL; | |
333 | } | |
332 | 334 | |
333 | 335 | camel_service_unlock (service, CAMEL_SERVICE_REC_CONNECT_LOCK); |
334 | 336 |