Fixed issues and bugs
-moved system destroy functionality to System structure "destroy()" function -now arrays are properly destroyed (with destructor calling (__xdtor)) -fixed bug which makes BlockAllocator crashing after freeing it's memory -fixed many smaller memory leaks
This commit is contained in:
parent
74179b4fc8
commit
96bbcb9956
5 changed files with 87 additions and 39 deletions
|
|
@ -54,6 +54,7 @@ struct BlockAllocator
|
|||
Mallocator.dispose(pointers);
|
||||
pointers = next_pointers;
|
||||
}
|
||||
next_block = null;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue