Fix memory leak in the SQL query string (#17026)

Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
This commit is contained in:
Jarred Sumner
2025-02-03 17:38:17 -08:00
committed by GitHub
parent 7a918d24a7
commit 0861c03b37
2 changed files with 22 additions and 1 deletions

View File

@@ -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);