PackageWriterImpl: Fix reading the package-info in update mode

This commit is contained in:
Ingo Weinhold
2013-05-25 01:12:27 +02:00
parent 96af1d283c
commit 172f25fdda
@@ -816,6 +816,7 @@ PackageWriterImpl::_UpdateReadPackageInfo()
// data on heap -- read from there // data on heap -- read from there
status_t error = fHeapWriter->ReadData(data.Offset(), valueBuffer, status_t error = fHeapWriter->ReadData(data.Offset(), valueBuffer,
data.Size()); data.Size());
if (error != B_OK)
throw error; throw error;
} }