Fix a memory leak in x509write test suite

This leak wasn't discovered by the CI because the only test in
all.sh exercising the respective path enabled the custom memory
buffer allocator implementations of calloc() and free(), hence
bypassing ASan.
diff --git a/tests/suites/test_suite_x509write.function b/tests/suites/test_suite_x509write.function
index e15802f..7a359b1 100644
--- a/tests/suites/test_suite_x509write.function
+++ b/tests/suites/test_suite_x509write.function
@@ -57,6 +57,7 @@
         return( MBEDTLS_ERR_X509_CERT_VERIFY_FAILED );
     }
 
+    mbedtls_x509_csr_free( &csr );
     return( 0 );
 }
 #endif /* MBEDTLS_USE_PSA_CRYPTO */