diff -wubr vortex-1.1.11.b4921.g4922.orig/tls/vortex_tls.c vortex-1.1.11.b4921.g4922.new/tls/vortex_tls.c --- vortex-1.1.11.b4921.g4922.orig/tls/vortex_tls.c     2011-12-21 13:55:22.000000000 -0500 +++ vortex-1.1.11.b4921.g4922.new/tls/vortex_tls.c      2012-05-25 00:13:47.578353694 -0400 @@ -985,9 +985,6 @@         __vortex_connection_set_not_connected (connection_aux,                                                 "connection instance being closed, without closing session, due to underlying TLS negotiation",                                                VortexConnectionCloseCalled); -       /* dealloc the connection */ -       vortex_connection_unref (connection_aux, "(vortex tls process)"); -         /* the the connection to be blocking during the TLS          * negotiation, once called          * vortex_connection_parse_greetings_and_enable, the @@ -1086,6 +1083,9 @@                                 "TLS negotiation have failed!",  user_data);         }   +       /* dealloc the original connection */ +       vortex_connection_unref (connection_aux, "(vortex tls process)"); +         return NULL;  }