Skip to content

Commit

Permalink
Fix alloc-dealloc-mismatch in OrdinalPageIndex (apache#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayue Gao authored and imay committed Dec 11, 2019
1 parent 036d7da commit c42b6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/olap/rowset/segment_v2/ordinal_page_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ namespace doris {
namespace segment_v2 {

OrdinalPageIndex::~OrdinalPageIndex() {
delete _rowids;
delete _pages;
delete[] _rowids;
delete[] _pages;
}

Status OrdinalPageIndex::load() {
Expand Down

0 comments on commit c42b6c3

Please sign in to comment.