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 7ba2c83545
commit 3983e453fa

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