Skip to content

Commit 2d51563

Browse files
PFWhitevrischmann
authored andcommitted
update dynamic statement all to call arraylist.toOwnedSlice correctly
1 parent e3060cb commit 2d51563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ pub const DynamicStatement = struct {
19721972
try rows.append(row);
19731973
}
19741974

1975-
return rows.toOwnedSlice();
1975+
return rows.toOwnedSlice(allocator);
19761976
}
19771977
};
19781978

0 commit comments

Comments
 (0)