test_suite_ssl: Fix handshake options cleanup
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function
index f780fef..c65b565 100644
--- a/tests/suites/test_suite_ssl.function
+++ b/tests/suites/test_suite_ssl.function
@@ -4905,7 +4905,7 @@
     /* The goto below is used to avoid an "unused label" warning.*/
     goto exit;
 
-    exit:
+exit:
     free_handshake_options( &options );
 }
 /* END_CASE */
@@ -4941,6 +4941,9 @@
 
     /* The goto below is used to avoid an "unused label" warning.*/
     goto exit;
+
+exit:
+    free_handshake_options( &options );
 }
 /* END_CASE */
 
@@ -5065,6 +5068,8 @@
 
     /* The goto below is used to avoid an "unused label" warning.*/
     goto exit;
+exit:
+    free_handshake_options( &options );
 }
 /* END_CASE */
 
@@ -5111,9 +5116,6 @@
 
     /* The goto below is used to avoid an "unused label" warning.*/
     goto exit;
-
-exit:
-    free_handshake_options( &options );
 }
 /* END_CASE */