test_suite_ssl: add proper cache 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 14504e3..09b9d8e 100644
--- a/tests/suites/test_suite_ssl.function
+++ b/tests/suites/test_suite_ssl.function
@@ -4880,6 +4880,9 @@
/* The goto below is used to avoid an "unused label" warning.*/
goto exit;
+
+exit:
+ free_handshake_options( &options );
}
/* END_CASE */
@@ -4898,6 +4901,9 @@
/* The goto below is used to avoid an "unused label" warning.*/
goto exit;
+
+ exit:
+ free_handshake_options( &options );
}
/* END_CASE */
@@ -5056,9 +5062,6 @@
/* The goto below is used to avoid an "unused label" warning.*/
goto exit;
-
-exit:
- free_handshake_options( &options );
}
/* END_CASE */
@@ -5094,9 +5097,6 @@
/* The goto below is used to avoid an "unused label" warning.*/
goto exit;
-
-exit:
- free_handshake_options( &options );
}
/* END_CASE */