mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix potential memory leak
This commit is contained in:
parent
d671188680
commit
f5856b88b0
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ Chunks::~Chunks(){
|
|||
chunks[i] = nullptr;
|
||||
}
|
||||
delete[] chunks;
|
||||
delete[] chunksSecond;
|
||||
}
|
||||
|
||||
voxel* Chunks::get(int x, int y, int z){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue