amorynan commented on code in PR #36144:
URL: https://github.com/apache/doris/pull/36144#discussion_r1635673756
##########
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp:
##########
@@ -421,7 +424,6 @@ class InvertedIndexColumnWriterImpl : public
InvertedIndexColumnWriter {
// if this array is null, we just ignore to write inverted
index
RETURN_IF_ERROR(add_document());
_doc->clear();
- _CLDELETE(ts);
Review Comment:
why delete here will make memory leak?
##########
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp:
##########
@@ -421,7 +424,6 @@ class InvertedIndexColumnWriterImpl : public
InvertedIndexColumnWriter {
// if this array is null, we just ignore to write inverted
index
RETURN_IF_ERROR(add_document());
_doc->clear();
- _CLDELETE(ts);
Review Comment:
why delete here will make memory leak?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]