fix remaining regressed unit test; check_datapage.cpp was leaking a datapage, then running off the end of its buffer.
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@631 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
52dcae159e
commit
c07c1486ef
1 changed files with 4 additions and 3 deletions
|
@ -81,8 +81,9 @@ void insertProbeIter(size_t NUM_ENTRIES)
|
||||||
|
|
||||||
dsp.push_back(dp->get_start_pid());
|
dsp.push_back(dp->get_start_pid());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if(dp) {
|
||||||
|
delete dp;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Total data set length: %lld\n", (long long)datasize);
|
printf("Total data set length: %lld\n", (long long)datasize);
|
||||||
|
|
Loading…
Reference in a new issue