Merge from Git repository

--HG--
branch : develop
This commit is contained in:
NO-BREAK SPACE OÜ 2018-08-24 02:30:28 +00:00
commit c6063649ec

View file

@ -1312,8 +1312,8 @@ void CClientEditionModule::onUserComponentDownloaded(NLNET::IModuleProxy *sender
if (decompressionState != Z_OK) if (decompressionState != Z_OK)
{ {
nlwarning("Error: the downloaded user component is corrupted '%s'", component->Filename.c_str());
delete component; delete component;
nlwarning("Error: the downloaded user component is corrupted '%s' ", component->Filename.c_str());
return; return;
} }
component->UncompressedData[component->UncompressedDataLength] = '\0'; component->UncompressedData[component->UncompressedDataLength] = '\0';