You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/25 10:14:25 UTC

[doris] branch master updated: [bugfix] fix ASAN error alloc-dealloc-mismatch (#11168)

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 <18...@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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org