Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas
This commit is contained in:
@@ -619,7 +619,7 @@ MemoryTextureClient::~MemoryTextureClient()
|
||||
// if the buffer has never been shared we must deallocate it or it would
|
||||
// leak.
|
||||
GfxMemoryImageReporter::WillFree(mBuffer);
|
||||
delete mBuffer;
|
||||
delete [] mBuffer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user