diff --git a/ChangeLog b/ChangeLog index b1db6c88..98ddf601 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-07 Tatsuhiro Tsujikawa + + Fixed memory leak + * src/IteratableChunkChecksumValidator.h + 2008-08-07 Tatsuhiro Tsujikawa Fixed unmatched malloc/free. diff --git a/src/IteratableChunkChecksumValidator.h b/src/IteratableChunkChecksumValidator.h index 8517c378..8443fadd 100644 --- a/src/IteratableChunkChecksumValidator.h +++ b/src/IteratableChunkChecksumValidator.h @@ -50,7 +50,7 @@ class IteratableChunkChecksumValidator:public IteratableValidator private: SharedHandle _dctx; SharedHandle _pieceStorage; - BitfieldMan* _bitfield; + SharedHandle _bitfield; size_t _currentIndex; Logger* _logger; SharedHandle _ctx;