Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly release items in test cases that are got from tap streams
==18786== 240 (144 direct, 96 indirect) bytes in 2 blocks are definitely lost in loss record 20 of 23 ==18786== at 0x4C285BC: operator new(unsigned long) (vg_replace_malloc.c:298) ==18786== by 0x7D76331: StoredValue::toItem(bool, unsigned short) const (stored-value.cc:704) ==18786== by 0x7D327D8: EventuallyPersistentStore::getInternal(...) (ep.cc:1843) ==18786== by 0x7D7FE1B: TapProducer::getNextItem(...) (ep.h:268) ==18786== by 0x7D4A45E: EventuallyPersistentEngine::walkTapQueue(...) (ep_engine.cc:2382) ==18786== by 0x7D4A78E: EvpTapIterator (ep_engine.cc:1420) ==18786== by 0x7036B18: test_tap_sends_deleted (ep_testsuite.cc:5976) ==18786== by 0x4024C6: main (engine_testapp.c:1057) Change-Id: Id62dbadafc6ebd07d62c4b976f8bc568b763ce7d Reviewed-on: http://review.couchbase.org/48343 Reviewed-by: Manu Dhundi <manu@couchbase.com> Tested-by: Michael Wiederhold <mike@couchbase.com>
- Loading branch information