Merge from Git repository

--HG--
branch : develop
hg/compatibility-develop
NO-BREAK SPACE OÜ 6 years ago
commit c6063649ec

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

Loading…
Cancel
Save