mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas
This commit is contained in:
parent
5ce9b3de33
commit
c309103b37
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user