mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fixed a memory leak.
This commit is contained in:
@@ -329,6 +329,9 @@ QuadIndices::~QuadIndices()
|
|||||||
{
|
{
|
||||||
delete indexBuffer;
|
delete indexBuffer;
|
||||||
indexBuffer = nullptr;
|
indexBuffer = nullptr;
|
||||||
|
|
||||||
|
delete[] indices;
|
||||||
|
indices = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user