Skip to content

Commit

Permalink
Add missing defer statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rlopzc committed Jan 10, 2025
1 parent 6c9455c commit 64b1003
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fn fxRate(alloc: mem.Allocator, wise_api_key: []const u8, source: []const u8, ta
defer alloc.free(bearer_token);

var response = std.ArrayList(u8).init(alloc);
defer response.deinit();
const fetch_result = try client.fetch(
.{
.method = .GET,
Expand Down

0 comments on commit 64b1003

Please sign in to comment.