diff options
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index 9c32256fe0..f2322c95c3 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -260,10 +260,10 @@ camel_service_connect (CamelService *service, CamelException *ex) service->status = ret ? CAMEL_SERVICE_CONNECTED : CAMEL_SERVICE_DISCONNECTED; CAMEL_SERVICE_LOCK (service, connect_op_lock); + /* its impossible this is null from this code, but we check anyway */ if (service->connect_op) { if (unreg) camel_operation_unregister (service->connect_op); - camel_operation_unref (service->connect_op); service->connect_op = NULL; } |