mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
fix potential memory leak
This commit is contained in:
parent
6830205bcc
commit
667a90b724
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ Content::Content(ContentIndices* indices, DrawGroups* drawGroups,
|
||||||
|
|
||||||
Content::~Content() {
|
Content::~Content() {
|
||||||
delete indices;
|
delete indices;
|
||||||
|
delete drawGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
Block* Content::findBlock(string id) const {
|
Block* Content::findBlock(string id) const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue