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
+2 -1
View File
@@ -816,7 +816,8 @@ PackageWriterImpl::_UpdateReadPackageInfo()
// data on heap -- read from there
status_t error = fHeapWriter->ReadData(data.Offset(), valueBuffer,
data.Size());
throw error;
if (error != B_OK)
throw error;
}
valueString.UnlockBuffer();