mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945632. Assert we've released memory which the host should have released. r=nical
This commit is contained in:
parent
e48762eeb9
commit
62b1b9650d
@ -549,6 +549,8 @@ MemoryTextureHost::MemoryTextureHost(uint64_t aID,
|
||||
MemoryTextureHost::~MemoryTextureHost()
|
||||
{
|
||||
DeallocateDeviceData();
|
||||
NS_ASSERTION(!mBuffer || (mFlags & TEXTURE_DEALLOCATE_CLIENT),
|
||||
"Leaking our buffer");
|
||||
MOZ_COUNT_DTOR(MemoryTextureHost);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user