fix typo that leads to double frees
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@1018 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
b894cebaf7
commit
0d471bb912
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ public:
|
||||||
|
|
||||||
~batchedRevalidatingIterator() {
|
~batchedRevalidatingIterator() {
|
||||||
for(int i = cur_off_; i < num_batched_; i++) {
|
for(int i = cur_off_; i < num_batched_; i++) {
|
||||||
TUPLE::freetuple(next_ret_[cur_off_]);
|
TUPLE::freetuple(next_ret_[i]);
|
||||||
}
|
}
|
||||||
free(next_ret_);
|
free(next_ret_);
|
||||||
// if(next_ret_) TUPLE::freetuple(next_ret_);
|
// if(next_ret_) TUPLE::freetuple(next_ret_);
|
||||||
|
|
Loading…
Reference in a new issue