Skip to content

Commit

Permalink
fix iterator leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 24, 2016
1 parent 9cf6ea0 commit 547681f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ Iterator::~Iterator () {
delete start;
if (end != NULL)
delete end;
if (lt != NULL)
delete lt;
if (gt != NULL)
delete gt;
if (lte != NULL)
delete lte;
if (gte != NULL)
delete gte;
};

bool Iterator::GetIterator () {
Expand Down

0 comments on commit 547681f

Please sign in to comment.