Skip to content

Commit

Permalink
Fix memory leak in the SQL query string (#17026)
Browse files Browse the repository at this point in the history
Co-authored-by: Ciro Spaciari <[email protected]>
  • Loading branch information
Jarred-Sumner and cirospaciari authored Feb 4, 2025
1 parent 7a918d2 commit 0861c03
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sql/postgres.zig
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@ pub const PostgresSQLQuery = struct {
.bigint = bigint,
},
};
ptr.query.ref();

PostgresSQLQuery.bindingSetCached(this_value, globalThis, values);
PostgresSQLQuery.pendingValueSetCached(this_value, globalThis, pending_value);
Expand Down
Loading

0 comments on commit 0861c03

Please sign in to comment.