Memory leak fix.

Nicky 2015-04-18 01:38:19 +02:00
parent ee9f8c4d0e
commit 1264dd3239
1 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,8 @@ void FSFloaterObjectExport::onLoadComplete(LLVFS* vfs, const LLUUID& asset_uuid,
if (!gesture->deserialize(dp))
{
LL_WARNS("export") << "Unable to load gesture " << asset_uuid << LL_ENDL;
delete gesture;
gesture = NULL;
break;
}
std::string name;