Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas

This commit is contained in:
Eric Rahm 2014-03-19 17:28:41 -07:00
parent 5ce9b3de33
commit c309103b37

View File

@ -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;
}
}