Pointer check was wrong, there was a slight possibility for a nullptr
dereference.meow-7.2.2
parent
6c4dadf08b
commit
ec14e4ba7a
|
|
@ -333,7 +333,7 @@ S32 FSFloaterVRAMUsage::calcVBOEntrySize( LLVertexBuffer *aVBO )
|
|||
|
||||
void FSFloaterVRAMUsage::onProperties( LLSelectNode const *aProps )
|
||||
{
|
||||
if( !aProps && !aProps->getObject() )
|
||||
if( !aProps || !aProps->getObject() )
|
||||
return;
|
||||
|
||||
LLUUID id = aProps->getObject()->getID();
|
||||
|
|
|
|||
Loading…
Reference in New Issue