packagefs: CachingPackageReader: Don't delete cached heap reader

... in destructor. After we create it, it belongs to the super class and
is destroyed by it.
This commit is contained in:
Ingo Weinhold 2013-05-24 23:56:26 +02:00
parent c0ab140961
commit a11b0003ec

View File

@ -716,7 +716,6 @@ struct Package::CachingPackageReader : public PackageReaderImpl {
~CachingPackageReader()
{
delete fCachedHeapReader;
}
virtual status_t CreateCachedHeapReader(