mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +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() {
|
||||
delete indices;
|
||||
delete drawGroups;
|
||||
}
|
||||
|
||||
Block* Content::findBlock(string id) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue