This commit is contained in:
Nuno Cruces
2025-08-13 03:31:12 +01:00
parent 4b154a842c
commit d8880e4cee
9 changed files with 11 additions and 11 deletions

View File

@@ -31,9 +31,9 @@ func (v Value) Dup() *Value {
// Close frees an SQL value previously obtained by [Value.Dup].
//
// https://sqlite.org/c3ref/value_dup.html
func (dup *Value) Close() error {
dup.c.call("sqlite3_value_free", stk_t(dup.handle))
dup.handle = 0
func (v *Value) Close() error {
v.c.call("sqlite3_value_free", stk_t(v.handle))
v.handle = 0
return nil
}