diff options
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r-- | camel/camel-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-session.c b/camel/camel-session.c index 9d5fd7ea9f..c4e369b10b 100644 --- a/camel/camel-session.c +++ b/camel/camel-session.c @@ -497,7 +497,7 @@ camel_session_get_service_connected (CamelSession *session, if (svc->status != CAMEL_SERVICE_CONNECTED) { if (camel_service_connect (svc, ex) == FALSE) { - camel_object_unref (CAMEL_OBJECT (svc)); + camel_object_unref (svc); return NULL; } } |