This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 37dff975a7 [bugfix] fix ASAN error alloc-dealloc-mismatch (#11168)
37dff975a7 is described below

commit 37dff975a7369e95fc4b1e60156bfd813d4764ac
Author: TengJianPing <18241664+jackte...@users.noreply.github.com>
AuthorDate: Mon Jul 25 18:14:20 2022 +0800

    [bugfix] fix ASAN error alloc-dealloc-mismatch (#11168)
---
 be/src/vec/exec/vaggregation_node.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/exec/vaggregation_node.cpp 
b/be/src/vec/exec/vaggregation_node.cpp
index 4fc2b1eda5..3301a7ed32 100644
--- a/be/src/vec/exec/vaggregation_node.cpp
+++ b/be/src/vec/exec/vaggregation_node.cpp
@@ -1196,7 +1196,7 @@ Status AggregationNode::_merge_with_serialized_key(Block* 
block) {
                 column = 
((ColumnNullable*)column.get())->get_nested_column_ptr();
             }
 
-            std::unique_ptr<char> deserialize_buffer(
+            std::unique_ptr<char[]> deserialize_buffer(
                     new 
char[_aggregate_evaluators[i]->function()->size_of_data() * rows]);
 
             
_aggregate_evaluators[i]->function()->deserialize_vec(deserialize_buffer.get(),


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to