Do not leak filehandles.
parent
3de3e6e762
commit
67f05f585f
|
|
@ -301,6 +301,7 @@ void LLViewerAssetStorage::storeAssetData(
|
|||
{
|
||||
// LLAssetStorage metric: Zero size
|
||||
reportMetric( asset_id, asset_type, filename, LLUUID::null, 0, MR_ZERO_SIZE, __FILE__, __LINE__, "The file was zero length" );
|
||||
fclose(fp); // <FS:ND/> Do not leak the file handle.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue