From 1c072c454d0d54c56523c23448094fe597527e62 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sun, 27 Aug 2023 10:34:39 -0700 Subject: [PATCH] fix crash. leaks remain --- src/aws.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aws.zig b/src/aws.zig index 2d4f01e..18ad54a 100644 --- a/src/aws.zig +++ b/src/aws.zig @@ -1454,6 +1454,7 @@ test "sts get_caller_identity comptime" { try requestOptions.waitForReady(); awshttp.endpoint_override = requestOptions.test_server_runtime_uri; + defer awshttp.endpoint_override = null; var client = try Client.init(allocator, .{}); const options = Options{ .region = "us-west-2",