Skip to content

Commit 5ecfa0f

Browse files
committed
comment
1 parent ac37dda commit 5ecfa0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/query/expression/src/aggregate/payload.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ impl Payload {
288288
// write states
289289
let n = select_vector.len().min(new_group_rows);
290290
let (array_layout, padded_size) = layout.repeat(n).unwrap();
291+
// Bump only allocates but does not drop, so there is no use after free for any item.
291292
let place = self.arena.alloc_layout(array_layout);
292293
for (idx, place) in select_vector
293294
.iter()

0 commit comments

Comments
 (0)