kangpinghuang commented on a change in pull request #1413: Add short key index 
builder, decoder, iterator
URL: https://github.com/apache/incubator-doris/pull/1413#discussion_r299346873
 
 

 ##########
 File path: be/src/olap/olap_index.cpp
 ##########
 @@ -50,41 +53,63 @@ MemIndex::~MemIndex() {
     for (vector<SegmentMetaInfo>::iterator it = _meta.begin(); it != 
_meta.end(); ++it) {
         free(it->buffer.data);
         it->buffer.data = NULL;
 
 Review comment:
   ```suggestion
           it->buffer.data = nullptr;
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to