Return through cleanup section in ssl_load_buffered_message()
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index c00c974..e6b5ad2 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -4387,7 +4387,7 @@
         {
             MBEDTLS_SSL_DEBUG_MSG( 2, ( "CCS not seen in the current flight" ) );
             ret = -1;
-            return( -1 );
+            goto exit;
         }
 
         MBEDTLS_SSL_DEBUG_MSG( 2, ( "Inject buffered CCS message" ) );