File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57626,6 +57626,9 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t she_test(void)
5762657626 ret = wc_SHE_Init(she2, HEAP_HINT, devId);
5762757627 if (ret != 0) {
5762857628 WC_FREE_VAR(she2, HEAP_HINT);
57629+ #ifdef WC_DECLARE_VAR_IS_HEAP_ALLOC
57630+ she2 = NULL;
57631+ #endif
5762957632 goto exit_SHE_Test;
5763057633 }
5763157634
@@ -57639,6 +57642,9 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t she_test(void)
5763957642 if (ret != 0) {
5764057643 wc_SHE_Free(she2);
5764157644 WC_FREE_VAR(she2, HEAP_HINT);
57645+ #ifdef WC_DECLARE_VAR_IS_HEAP_ALLOC
57646+ she2 = NULL;
57647+ #endif
5764257648 goto exit_SHE_Test;
5764357649 }
5764457650
@@ -57652,6 +57658,9 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t she_test(void)
5765257658
5765357659 wc_SHE_Free(she2);
5765457660 WC_FREE_VAR(she2, HEAP_HINT);
57661+ #ifdef WC_DECLARE_VAR_IS_HEAP_ALLOC
57662+ she2 = NULL;
57663+ #endif
5765557664
5765657665 if (ret != 0) {
5765757666 goto exit_SHE_Test;
You can’t perform that action at this time.
0 commit comments