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 295dd0fcb26 [bugfix](memleak) missed add bufferred to releasable 
buffer list (#52822)
295dd0fcb26 is described below

commit 295dd0fcb26affb55a96852f5f0668310c654b7f
Author: yiguolei <guo...@selectdb.com>
AuthorDate: Sat Jul 5 16:23:12 2025 +0800

    [bugfix](memleak) missed add bufferred to releasable buffer list (#52822)
---
 be/src/vec/data_types/serde/data_type_quantilestate_serde.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/vec/data_types/serde/data_type_quantilestate_serde.h 
b/be/src/vec/data_types/serde/data_type_quantilestate_serde.h
index cd0bce3e229..b04ec1e4df8 100644
--- a/be/src/vec/data_types/serde/data_type_quantilestate_serde.h
+++ b/be/src/vec/data_types/serde/data_type_quantilestate_serde.h
@@ -161,6 +161,7 @@ public:
         StringRef bufferRef;
         bufferRef.data = ptr;
         bufferRef.size = total_size;
+        buffer_list.emplace_back(bufferRef);
         // Second pass: copy data to allocated memory
         size_t offset = 0;
         for (size_t row_id = start; row_id < end; row_id++) {


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

Reply via email to